summaryrefslogtreecommitdiff
path: root/include/serialize.h
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2012-09-24 15:54:49 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2012-09-24 15:54:49 -0400
commit38ad523f91c5b89cebd01e6e0f61ea8859c02253 (patch)
tree14f518edc9ab9a54a9dc1c9a5f4b0bdc3b313a29 /include/serialize.h
parenta71e2fb64ed87559221a175d4dfd822d683ebb3d (diff)
Fix a few oddball warnings that came up from clang, and also make it so webcpanel.so can be compiled under Mac OS X.
Diffstat (limited to 'include/serialize.h')
-rw-r--r--include/serialize.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/serialize.h b/include/serialize.h
index 5f8801854..67eb6b8ce 100644
--- a/include/serialize.h
+++ b/include/serialize.h
@@ -220,7 +220,7 @@ class serialize_obj : public dynamic_reference_base
{
if (!this->invalid)
return this->ref != NULL;
- return NULL;
+ return false;
}
inline void operator=(T *newref)