]> git.stg.codes - stg.git/blobdiff - include/stg/user_property.h
Simplify notifiers.
[stg.git] / include / stg / user_property.h
index 5965a7a6d0cbd0e3f373846e13c7a5509cbede66..529d854acd669b63b2d054fd36f61530f19f82e0 100644 (file)
@@ -207,14 +207,14 @@ void UserProperty<T>::Set(const T& rvalue)
 
     auto ni = beforeNotifiers.begin();
     while (ni != beforeNotifiers.end())
-        (*ni++)->Notify(oldVal, rvalue);
+        (*ni++)->notify(oldVal, rvalue);
 
     value = rvalue;
     modificationTime = time(NULL);
 
     ni = afterNotifiers.begin();
     while (ni != afterNotifiers.end())
-        (*ni++)->Notify(oldVal, rvalue);
+        (*ni++)->notify(oldVal, rvalue);
 }
 //-----------------------------------------------------------------------------
 template <typename T>