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

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sat Mar 20 13:13:37 CET 2010


Revision: 48307
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48307&view=rev
Author:   lordhoto
Date:     2010-03-20 12:13:37 +0000 (Sat, 20 Mar 2010)

Log Message:
-----------
Add common/util.h include to common/algorithm.h for SWAP.

This should fix the compilation with clang++, see bug report
 #2971226 "COMMON: Compile error - SWAP undeclared in algorithm.h".

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

Modified: scummvm/trunk/common/algorithm.h
===================================================================
--- scummvm/trunk/common/algorithm.h	2010-03-20 09:57:25 UTC (rev 48306)
+++ scummvm/trunk/common/algorithm.h	2010-03-20 12:13:37 UTC (rev 48307)
@@ -27,6 +27,7 @@
 
 #include "common/scummsys.h"
 #include "common/func.h"
+#include "common/util.h"
 
 namespace Common {
 


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