]> git.tdb.fi Git - builder.git/blobdiff - source/buildinfo.cpp
Add Id tag to all files
[builder.git] / source / buildinfo.cpp
index de111e935303bfc2c055fd3617dface673cbd4d3..4a10872a7539cd3873e7b4afd4b6a5119603b6c6 100644 (file)
@@ -1,4 +1,10 @@
-#include <msp/algo.h>
+/* $Id$
+
+This file is part of builder
+Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
 #include "buildinfo.h"
 
 using namespace Msp;
@@ -37,7 +43,7 @@ void BuildInfo::unique(StringList &l)
 {
        StringList l2;
        for(StringList::iterator i=l.begin(); i!=l.end(); ++i)
-               if(!contains(l2, *i))
+               if(find(l2.begin(), l2.end(), *i)==l2.end())
                        l2.push_back(*i);
        swap(l, l2);
 }