X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcefile.cpp;h=58c498e1f6c88cdddc0932c1ebb54d07a91a1455;hb=0c83b922e56976a30506d9f8d43c9dcd38d573b5;hp=d95ea5edc5f3678d1f1c0eb1926a50866ab22311;hpb=75bdcf13fbd285e2006337ec606ca28fa4ddae9e;p=builder.git diff --git a/source/sourcefile.cpp b/source/sourcefile.cpp index d95ea5e..58c498e 100644 --- a/source/sourcefile.cpp +++ b/source/sourcefile.cpp @@ -1,12 +1,5 @@ -/* $Id$ - -This file is part of builder -Copyright © 2006-2009 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - +#include #include -#include #include #include #include "builder.h" @@ -46,7 +39,7 @@ void SourceFile::find_depends() includes = deps_cache.get_deps(relname); deps_found = true; } - catch(const KeyError &) + catch(const key_error &) { } } @@ -68,7 +61,7 @@ void SourceFile::find_depends() deps_cache.set_deps(relname, includes); } - catch(const IO::FileNotFound &) + catch(const IO::file_not_found &) { if(builder.get_verbose()>=4) IO::print("Failed to read includes from %s\n", path.str());