X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcsourcefile.cpp;h=b0346e46cd01d94dc5d57ef01daf2823f8bb37cb;hb=5c25b76c7263b2a8ac01c863e438592c6287758a;hp=e2b029a0d1f7080d29a409f7962356db6799c966;hpb=75ac80cb255e4def7ee685ce9c46db7c2f6625aa;p=builder.git diff --git a/source/csourcefile.cpp b/source/csourcefile.cpp index e2b029a..b0346e4 100644 --- a/source/csourcefile.cpp +++ b/source/csourcefile.cpp @@ -57,6 +57,6 @@ void CSourceFile::find_depends() { Target *hdr = builder.get_vfs().find_header(i->substr(1), ((*i)[0]=='"' ? local_incpath : incpath)); if(hdr) - add_depend(hdr); + add_depend(*hdr); } }