diff options
-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; |