git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ad34d43
)
Initialize additional members in constructor for PROPERTY
author
Maxim Mamontov
<faust.madf@gmail.com>
Wed, 14 Sep 2011 14:34:07 +0000
(17:34 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Wed, 14 Sep 2011 14:34:07 +0000
(17:34 +0300)
include/stg/user_property.h
patch
|
blob
|
history
diff --git
a/include/stg/user_property.h
b/include/stg/user_property.h
index ade21f4e8024e040dd2d6d13ba393e02e27e8731..822bc0f90ccdebb93338e7749dc2a5531edd7838 100644
(file)
--- a/
include/stg/user_property.h
+++ b/
include/stg/user_property.h
@@
-173,7
+173,10
@@
template <typename varT>
inline
USER_PROPERTY<varT>::USER_PROPERTY(varT & val)
: value(val),
inline
USER_PROPERTY<varT>::USER_PROPERTY(varT & val)
: value(val),
- modificationTime(stgTime)
+ modificationTime(stgTime),
+ beforeNotifiers(),
+ afterNotifiers(),
+ mutex()
{
pthread_mutex_init(&mutex, NULL);
}
{
pthread_mutex_init(&mutex, NULL);
}