X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/3a45cd9275dc9279e133deb0932402ae5f4d0b5f..db323584230f6d5b4a6e16574fd0baadc9d465e5:/projects/stargazer/plugins/authorization/stress/stress.h?ds=sidebyside

diff --git a/projects/stargazer/plugins/authorization/stress/stress.h b/projects/stargazer/plugins/authorization/stress/stress.h
index bfcf56d0..83ab3231 100644
--- a/projects/stargazer/plugins/authorization/stress/stress.h
+++ b/projects/stargazer/plugins/authorization/stress/stress.h
@@ -46,6 +46,7 @@ class AUTH_STRESS;
 template <typename varParamType>
 class CHG_BEFORE_NOTIFIER: public PROPERTY_NOTIFIER_BASE<varParamType> {
 public:
+    CHG_BEFORE_NOTIFIER() : auth(NULL) {}
     void Notify(const varParamType & oldValue, const varParamType & newValue);
     void        SetUser(USER_PTR u) { user = u; }
     USER_PTR    GetUser() {return user; }
@@ -59,6 +60,7 @@ private:
 template <typename varParamType>
 class CHG_AFTER_NOTIFIER: public PROPERTY_NOTIFIER_BASE<varParamType> {
 public:
+    CHG_AFTER_NOTIFIER() : auth(NULL) {}
     void        Notify(const varParamType & oldValue, const varParamType & newValue);
     void        SetUser(USER_PTR u) { user = u; }
     USER_PTR    GetUser() {return user; }
@@ -88,11 +90,6 @@ public:
     virtual ~AUTH_STRESS() {}
 
     void                SetUsers(USERS * u);
-    void                SetTariffs(TARIFFS *) {}
-    void                SetAdmins(ADMINS *) {}
-    void                SetTraffcounter(TRAFFCOUNTER *) {}
-    void                SetStore(STORE *) {}
-    void                SetStgSettings(const SETTINGS *) {}
 
     int                 Start();
     int                 Stop();
@@ -137,7 +134,7 @@ private:
 
     class ADD_USER_NONIFIER: public NOTIFIER_BASE<USER_PTR> {
     public:
-        ADD_USER_NONIFIER() {}
+        ADD_USER_NONIFIER() : auth(NULL) {}
         virtual ~ADD_USER_NONIFIER() {}
 
         void SetAuthorizator(AUTH_STRESS * a) { auth = a; }
@@ -152,7 +149,7 @@ private:
 
     class DEL_USER_NONIFIER: public NOTIFIER_BASE<USER_PTR> {
     public:
-        DEL_USER_NONIFIER() {}
+        DEL_USER_NONIFIER() : auth(NULL) {}
         virtual ~DEL_USER_NONIFIER() {}
 
         void SetAuthorizator(AUTH_STRESS * a) { auth = a; }