[Scummvm-cvs-logs] SF.net SVN: scummvm: [31333] scummvm/trunk/common/ptr.h

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Mar 30 20:32:43 CEST 2008


Revision: 31333
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31333&view=rev
Author:   lordhoto
Date:     2008-03-30 11:32:42 -0700 (Sun, 30 Mar 2008)

Log Message:
-----------
Committed salty-horse's documentation patch.

Modified Paths:
--------------
    scummvm/trunk/common/ptr.h

Modified: scummvm/trunk/common/ptr.h
===================================================================
--- scummvm/trunk/common/ptr.h	2008-03-30 18:31:30 UTC (rev 31332)
+++ scummvm/trunk/common/ptr.h	2008-03-30 18:32:42 UTC (rev 31333)
@@ -99,8 +99,8 @@
  * 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 @@
 
 	/**
 	 * 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; }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list