git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added TODO to sgconf.
[stg.git]
/
projects
/
stargazer
/
services_impl.cpp
diff --git
a/projects/stargazer/services_impl.cpp
b/projects/stargazer/services_impl.cpp
index bb9fdc1a03fdecc6c96ba3807dc4aba0fcbb4f4f..90c23f812acd856a5ec282e0f97f7006eba41af5 100644
(file)
--- a/
projects/stargazer/services_impl.cpp
+++ b/
projects/stargazer/services_impl.cpp
@@
-192,7
+192,7
@@
assert(service != NULL && "Pointer to service is not null");
STG_LOCKER lock(&mutex);
if (data.empty())
STG_LOCKER lock(&mutex);
if (data.empty())
- return
fals
e;
+ return
tru
e;
const_iterator si(std::find(data.begin(), data.end(), SERVICE_CONF(name)));
const_iterator si(std::find(data.begin(), data.end(), SERVICE_CONF(name)));
@@
-211,7
+211,7
@@
assert(service != NULL && "Pointer to service is not null");
STG_LOCKER lock(&mutex);
if (data.empty())
STG_LOCKER lock(&mutex);
if (data.empty())
- return
fals
e;
+ return
tru
e;
const_iterator si(std::find(data.begin(), data.end(), SERVICE_CONF(name)));
const_iterator si(std::find(data.begin(), data.end(), SERVICE_CONF(name)));