X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcsourcefile.cpp;h=b0346e46cd01d94dc5d57ef01daf2823f8bb37cb;hb=9134ce7f2225eb301c7b6c9aca8521c4e82dc065;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); } }