diff options
author | Shea Levy <shea@shealevy.com> | 2014-10-20T16·15-0400 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2014-10-20T16·15-0400 |
commit | 6062b121605b298c73ddf11688b075ed78a46df2 (patch) | |
tree | 52ea9d76a92e7a159c43e781ad12438e431234bf /src/libexpr | |
parent | f040159f77e518e5eda87a0c092e6c20d87a572b (diff) |
Fix build on gcc < 4.7
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/eval.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index daf53846ffd5..51ab1b1e8012 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -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' */ |