mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Fix build on gcc < 4.7
This commit is contained in:
parent
f040159f77
commit
6062b12160
2 changed files with 16 additions and 0 deletions
|
@ -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' */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue