Skip to content
Snippets Groups Projects
Commit 0a60a9df authored by Martin Heistermann's avatar Martin Heistermann
Browse files

PropertyStoragePtr: fix operator bool()

parent c816af47
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,10 @@ public:
iterator begin() { return storage()->begin(); }
iterator end() { return storage()->end(); }
size_t size() const { return storage()->size(); }
operator bool() const {return storage()->resMan() != nullptr;}
[[deprecated]]
// TODO: check if we have a tracker
operator bool() const {return true;}
/// No range check performed!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment