X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcefile.cpp;h=ea76efd28a6fd6435e6d9c2a4f74c50a40c83a31;hb=0d80cabf649b931b26e7055385156c75a7385d35;hp=42142536607b9a4540929703ae14383538823ea8;hpb=97001ddfa2463e6a3526eff772962acdad45f995;p=builder.git diff --git a/source/sourcefile.cpp b/source/sourcefile.cpp index 4214253..ea76efd 100644 --- a/source/sourcefile.cpp +++ b/source/sourcefile.cpp @@ -7,6 +7,8 @@ using namespace std; using namespace Msp; +#include + SourceFile::SourceFile(Builder &b, const Component *c, const string &n): Target(b, c?&c->get_package():0, n), comp(c) @@ -32,9 +34,3 @@ void SourceFile::find_depends() add_depend(hdr); } } - -void SourceFile::check_rebuild() -{ - for(list::iterator i=depends.begin(); i!=depends.end(); ++i) - vmtime=max(vmtime, (*i)->get_virtual_mtime()); -}