]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.cpp
Improve file target naming
[builder.git] / source / sourcefile.cpp
index 0fc989d0f5a78927acce28f38050c0feddc7f09d..58c498e1f6c88cdddc0932c1ebb54d07a91a1455 100644 (file)
@@ -1,12 +1,5 @@
-/* $Id$
-
-This file is part of builder
-Copyright © 2006-2009  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
+#include <msp/core/maputils.h>
 #include <msp/fs/utils.h>
-#include <msp/io/except.h>
 #include <msp/io/print.h>
 #include <msp/strings/regex.h>
 #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 &)
                { }
        }