From 351851971bc8d254dddfdfbb1fda3bcffdedcf2c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 30 Mar 2008 18:32:42 +0000 Subject: Committed salty-horse's documentation patch. svn-id: r31333 --- common/ptr.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common') 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 object to a SharedPtr 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 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; } -- cgit v1.2.3