diff options
author | randomdan <randomdan@localhost> | 2013-07-09 14:35:22 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2013-07-09 14:35:22 +0000 |
commit | 3f6a1a53848856163304fd00923e043ff5a0e20b (patch) | |
tree | ab7b6fb8f87581eee182dd34c8b2f8e781fab81f | |
parent | Remove gcc-4.7 requirement (diff) | |
download | project2-3f6a1a53848856163304fd00923e043ff5a0e20b.tar.bz2 project2-3f6a1a53848856163304fd00923e043ff5a0e20b.tar.xz project2-3f6a1a53848856163304fd00923e043ff5a0e20b.zip |
Boost 1.53 compat fix
-rw-r--r-- | project2/common/scriptStorage.h | 2 | ||||
-rw-r--r-- | project2/common/transform.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/project2/common/scriptStorage.h b/project2/common/scriptStorage.h index c8b441d..8c37a65 100644 --- a/project2/common/scriptStorage.h +++ b/project2/common/scriptStorage.h @@ -62,7 +62,7 @@ class StorerBase : public Storer { throw StoreFailed(name->get_name()); } } - return O; + return (O != NULL); } virtual bool insert(boost::intrusive_ptr<X>) = 0; private: diff --git a/project2/common/transform.cpp b/project2/common/transform.cpp index efe9bf6..def1060 100644 --- a/project2/common/transform.cpp +++ b/project2/common/transform.cpp @@ -21,7 +21,7 @@ class TransformTargetStorer : public Storer { if (O) { transformSource->addTarget(O, NULL, s); } - return O; + return (O != NULL); } private: TransformSource * transformSource; |