summaryrefslogtreecommitdiff
path: root/node/Dictionary.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-05-01 13:21:26 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-05-01 13:21:26 -0700
commit718e1d6c082453bfbab8b900f5ffde42047fc814 (patch)
treebd344066a515f2f195093dda6e84b9530d686006 /node/Dictionary.hpp
parenta9ce77358484e41cd6bac42594e4eeb045a788cb (diff)
downloadinfinitytier-718e1d6c082453bfbab8b900f5ffde42047fc814.tar.gz
infinitytier-718e1d6c082453bfbab8b900f5ffde42047fc814.zip
Finish removing constantly changing stuff from controller.
Diffstat (limited to 'node/Dictionary.hpp')
-rw-r--r--node/Dictionary.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/Dictionary.hpp b/node/Dictionary.hpp
index e212e453..4413d628 100644
--- a/node/Dictionary.hpp
+++ b/node/Dictionary.hpp
@@ -99,6 +99,8 @@ public:
return *this;
}
+ inline operator bool() const { return (_d[0] != 0); }
+
/**
* Load a dictionary from a C-string
*