]> git.stg.codes - stg.git/blobdiff - projects/stargazer/tariffs_impl.cpp
Set "deleted" flag for user before executing notifiers
[stg.git] / projects / stargazer / tariffs_impl.cpp
index d6d6b36ae66a5ee97976194fd9cbb0894cee22f1..a912c3387e8eb14f141b48d8cabb49e1fa7b8039 100644 (file)
@@ -42,7 +42,8 @@ using namespace std;
 
 //-----------------------------------------------------------------------------
 TARIFFS_IMPL::TARIFFS_IMPL(STORE * st)
-    : tariffs(),
+    : TARIFFS(),
+      tariffs(),
       store(st),
       WriteServLog(GetStgLogger()),
       strError(),
@@ -85,7 +86,7 @@ for (int i = 0; i < tariffsNum; i++)
 return 0;
 }
 //-----------------------------------------------------------------------------
-int TARIFFS_IMPL::GetTariffsNum() const
+size_t TARIFFS_IMPL::Count() const
 {
 STG_LOCKER lock(&mutex, __FILE__, __LINE__);
 return tariffs.size();