X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbuildinfo.cpp;h=5164ab08841c1ceed879f6fc5e4939770cd85cca;hb=bdc8b6638b486aa668b4a9c6c5cce5f6b5f18222;hp=de111e935303bfc2c055fd3617dface673cbd4d3;hpb=74266a6e650f019063cdcd1c9a7bd26d8f99041b;p=builder.git diff --git a/source/buildinfo.cpp b/source/buildinfo.cpp index de111e9..5164ab0 100644 --- a/source/buildinfo.cpp +++ b/source/buildinfo.cpp @@ -1,4 +1,11 @@ -#include +/* $Id$ + +This file is part of builder +Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions +Distributed under the LGPL +*/ + +#include #include "buildinfo.h" using namespace Msp; @@ -37,7 +44,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); }