1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

Fix build on gcc < 4.7

This commit is contained in:
Shea Levy 2014-10-20 12:15:50 -04:00
parent f040159f77
commit 6062b12160
2 changed files with 16 additions and 0 deletions

View file

@ -340,6 +340,9 @@ struct InvalidPathError : EvalError
{
Path path;
InvalidPathError(const Path & path);
#ifdef EXCEPTION_NEEDS_THROW_SPEC
~InvalidPathError() throw () { };
#endif
};
/* Realise all paths in `context' */