]> git.stg.codes - stg.git/commitdiff
Initialize additional members in constructor for PROPERTY
authorMaxim Mamontov <faust.madf@gmail.com>
Wed, 14 Sep 2011 14:34:07 +0000 (17:34 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Wed, 14 Sep 2011 14:34:07 +0000 (17:34 +0300)
include/stg/user_property.h

index ade21f4e8024e040dd2d6d13ba393e02e27e8731..822bc0f90ccdebb93338e7749dc2a5531edd7838 100644 (file)
@@ -173,7 +173,10 @@ template <typename varT>
 inline
 USER_PROPERTY<varT>::USER_PROPERTY(varT & val)
     : value(val),
-      modificationTime(stgTime)
+      modificationTime(stgTime),
+      beforeNotifiers(),
+      afterNotifiers(),
+      mutex()
 {
 pthread_mutex_init(&mutex, NULL);
 }