X-Git-Url: http://git.tdb.fi/?p=builder.git;a=blobdiff_plain;f=source%2Fcsourcefile.cpp;h=41dbd437cc836b75697342381f590b1c09f89fc4;hp=954fdba72927c8b4417d177094b2de849e3306c8;hb=3938f8030b1f62802decce19777ce70fdafaff10;hpb=1ec533a7777be4dce9c8b6bbb1cbc32d38098ae4 diff --git a/source/csourcefile.cpp b/source/csourcefile.cpp index 954fdba..41dbd43 100644 --- a/source/csourcefile.cpp +++ b/source/csourcefile.cpp @@ -54,8 +54,8 @@ void CSourceFile::find_dependencies() } const BuildInfo &build_info = component->get_build_info_for_path(path); - const BuildInfo::PathList &incpath = build_info.incpath; - BuildInfo::PathList local_incpath = incpath; + const auto &incpath = build_info.incpath; + VirtualFileSystem::SearchPath local_incpath = incpath; local_incpath.insert(local_incpath.begin(), build_info.local_incpath.begin(), build_info.local_incpath.end()); local_incpath.push_front(FS::dirname(path).str());