X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fanalyzer.cpp;h=94f7782e2848632906b78360384ad1ed365295c8;hb=aa053d637e8259755af7d2e4b510a242f4d29c7b;hp=4cebafad175ae6d7cc3a1a2459ffbba4c4d1709e;hpb=9f885c3eec8f065b7dc400acfb9dd67158284fcf;p=builder.git diff --git a/source/analyzer.cpp b/source/analyzer.cpp index 4cebafa..94f7782 100644 --- a/source/analyzer.cpp +++ b/source/analyzer.cpp @@ -1,3 +1,4 @@ +#include #include #include #include "analyzer.h" @@ -114,7 +115,7 @@ void Analyzer::build_depend_table(Target &tgt, unsigned depth) depends.insert(depends.end(), tdeps.begin(), tdeps.end()); } - depends.sort(full_paths ? target_order_full : target_order); + sort(depends, (full_paths ? target_order_full : target_order)); for(Target *d: depends) build_depend_table(*d, depth+1);