X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcore%2Foam%2FCounter.cpp;h=88b924854bf0cd1e232db6cbdf74fbba44aa7c06;hp=73c06ebf8f40cf384b2f21175423c3542d2225ac;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/core/oam/Counter.cpp b/source/core/oam/Counter.cpp index 73c06eb..88b9248 100644 --- a/source/core/oam/Counter.cpp +++ b/source/core/oam/Counter.cpp @@ -29,17 +29,17 @@ oam::Counter::Counter(oam::CounterScope& scope, const int id, const char* name) } int oam::Counter::getReference() const -throw() { +{ return (a_scope.getId() * CounterScope::MaxCounter) + a_id; } void oam::Counter::debug() const -throw() { +{ Logger::write(Logger::Information, functions::asString("%s| Counter%08d | %u | %s", TEST_COUNTER_TAG, getReference(), a_value, a_name.c_str()), ANNA_FILE_LOCATION); } string oam::Counter::asString() const -throw() { +{ string result("oam::Counter { Id: "); result += functions::asString("%08d", getReference()); result += " | Name: ";