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 | 0e5fdca99a25ed0cc34ac90def9af4a29102339c (patch) | |
tree | ab7b6fb8f87581eee182dd34c8b2f8e781fab81f | |
parent | Remove gcc-4.7 requirement (diff) | |
download | project2-0e5fdca99a25ed0cc34ac90def9af4a29102339c.tar.bz2 project2-0e5fdca99a25ed0cc34ac90def9af4a29102339c.tar.xz project2-0e5fdca99a25ed0cc34ac90def9af4a29102339c.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; |