X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcsourcefile.cpp;h=41dbd437cc836b75697342381f590b1c09f89fc4;hb=799d256e952913524c5e51a59c836e7a4cb52ea5;hp=954fdba72927c8b4417d177094b2de849e3306c8;hpb=7c2db9e2b91da953701be233336c5bfa1f3c4af0;p=builder.git 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());