]> git.tdb.fi Git - builder.git/commitdiff
Use correct typedefs
authorMikko Rasa <tdb@tdb.fi>
Mon, 9 Jul 2012 13:20:33 +0000 (16:20 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 9 Jul 2012 13:20:33 +0000 (16:20 +0300)
source/binary.cpp
source/buildinfo.cpp

index 7e32c8679789c184fe818a3ae2867e8987b51daa..2d0a409c5f2c53835fd38f6457e8fcccabb37ee6 100644 (file)
@@ -44,7 +44,7 @@ void Binary::find_depends()
                const BuildInfo::PathList &libpath = c->get_build_info().libpath;
 
                const BuildInfo::WordList &libs = c->get_build_info().libs;
-               for(StringList::const_iterator i=libs.begin(); i!=libs.end(); ++i)
+               for(BuildInfo::WordList::const_iterator i=libs.begin(); i!=libs.end(); ++i)
                {
                        Target *lib = builder.get_vfs().find_library(*i, libpath, libmode);
                        if(lib)
index 2372e89cd8453ce59cbf7463afa35a5139e151ea..a93c29df632202b878ede76dd1f2d9ba4c1b36f5 100644 (file)
@@ -60,14 +60,14 @@ void BuildInfo::unique()
        ::unique(libpath);
        ::unique(libs);
 
-       for(StringList::iterator i=warnings.begin(); i!=warnings.end(); ++i)
+       for(WordList::iterator i=warnings.begin(); i!=warnings.end(); ++i)
        {
                bool flag = i->compare(0, 3, "no-");
 
                string warn = (flag ? *i : i->substr(3));
                string no_warn = "no-"+warn;
 
-               for(StringList::iterator j=i; j!=warnings.end();)
+               for(WordList::iterator j=i; j!=warnings.end();)
                {
                        if(j!=i && (*j==warn || *j==no_warn))
                        {