diff options
Diffstat (limited to 'src/propertywatchimpl.hpp')
-rw-r--r-- | src/propertywatchimpl.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/propertywatchimpl.hpp b/src/propertywatchimpl.hpp index 46799ed..6e957ae 100644 --- a/src/propertywatchimpl.hpp +++ b/src/propertywatchimpl.hpp @@ -32,10 +32,6 @@ void PropertyWatch<DBusInterfaceType>::start() { return; } - else - { - alreadyRan = true; - } // The index has a flat layout which is not optimal here. Nest // properties in a map of interface names in a map of object paths. @@ -107,6 +103,8 @@ void PropertyWatch<DBusInterfaceType>::start() } } } + + alreadyRan = true; } template <typename T, typename DBusInterfaceType> |