diff options
author | Johannes Schickel | 2008-03-30 18:32:42 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-03-30 18:32:42 +0000 |
commit | 351851971bc8d254dddfdfbb1fda3bcffdedcf2c (patch) | |
tree | df55ec62bd31e411a24e9f32cc06528b43f19cf5 | |
parent | a9d256108d5dfeced10168cafddf1f259d5e88e6 (diff) | |
download | scummvm-rg350-351851971bc8d254dddfdfbb1fda3bcffdedcf2c.tar.gz scummvm-rg350-351851971bc8d254dddfdfbb1fda3bcffdedcf2c.tar.bz2 scummvm-rg350-351851971bc8d254dddfdfbb1fda3bcffdedcf2c.zip |
Committed salty-horse's documentation patch.
svn-id: r31333
-rw-r--r-- | common/ptr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/ptr.h b/common/ptr.h index a4aa6d0707..038ee7722f 100644 --- a/common/ptr.h +++ b/common/ptr.h @@ -99,8 +99,8 @@ private: * assignment of a SharedPtr<B> object to a SharedPtr<A> object. * * There are also operators != and == to compare two SharedPtr objects - * with compatible pointers. Comparision between a SharedPtr object and - * a plain pointer is just possible via SharedPtr::get. + * with compatible pointers. Comparison between a SharedPtr object and + * a plain pointer is only possible via SharedPtr::get. */ template<class T> class SharedPtr { @@ -159,7 +159,7 @@ public: /** * Implicit conversion operator to bool for convenience, to make - * checks like "if (sharePtr) ..." possible. + * checks like "if (sharedPtr) ..." possible. */ operator bool() const { return _pointer != 0; } |