diff options
Diffstat (limited to 'src/libs/client/Store.cpp')
-rw-r--r-- | src/libs/client/Store.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/client/Store.cpp b/src/libs/client/Store.cpp index b679b01a..1eea354a 100644 --- a/src/libs/client/Store.cpp +++ b/src/libs/client/Store.cpp @@ -511,7 +511,7 @@ Store::variable_change_event(const Path& subject_path, const string& predicate, { SharedPtr<ObjectModel> subject = object(subject_path); - if (!value) { + if (!value.is_valid()) { cerr << "ERROR: variable '" << predicate << "' has no type" << endl; } else if (subject) { subject->set_variable(predicate, value); |