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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Dec 28 22:04:39 CET 2009


Revision: 46688
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46688&view=rev
Author:   fingolfin
Date:     2009-12-28 21:04:35 +0000 (Mon, 28 Dec 2009)

Log Message:
-----------
Spelling: Par*r*tition

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

Modified: scummvm/trunk/common/algorithm.h
===================================================================
--- scummvm/trunk/common/algorithm.h	2009-12-28 21:03:13 UTC (rev 46687)
+++ scummvm/trunk/common/algorithm.h	2009-12-28 21:04:35 UTC (rev 46688)
@@ -176,7 +176,7 @@
 }
 
 template<typename T, class StrictWeakOrdering>
-T sortPatition(T first, T last, T pivot, StrictWeakOrdering &comp) {
+T sortPartition(T first, T last, T pivot, StrictWeakOrdering &comp) {
 	--last;
 	SWAP(*pivot, *last);
 
@@ -203,7 +203,7 @@
 		return;
 
 	T pivot = sortChoosePivot(first, last);
-	pivot = sortPatition(first, last, pivot, comp);
+	pivot = sortPartition(first, last, pivot, comp);
 	sort<T, StrictWeakOrdering>(first, pivot, comp);
 	sort<T, StrictWeakOrdering>(++pivot, last, comp);
 }


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