]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.cpp
Drop some deprecated datafile statements from Component
[builder.git] / source / sourcefile.cpp
index bc2d993f819d1dbed22c7ca868697e3dd4f0139e..062665c22d2fda44636d1c591eba55a3c01deb8e 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #include <msp/core/maputils.h>
 #include <msp/fs/utils.h>
 #include <msp/io/print.h>
@@ -82,7 +75,7 @@ void SourceFile::find_depends()
        FS::Path dir = FS::dirname(path);
        for(list<string>::iterator i=includes.begin(); i!=includes.end(); ++i)
        {
-               Target *hdr = builder.get_header(*i, dir, incpath);
+               Target *hdr = builder.get_vfs().find_header(*i, dir, incpath);
                if(hdr)
                        add_depend(hdr);
        }