diff options
-rw-r--r-- | third_party/nix/src/libexpr/eval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/eval.hh b/third_party/nix/src/libexpr/eval.hh index b50142926bff..a74bd2dfd3f9 100644 --- a/third_party/nix/src/libexpr/eval.hh +++ b/third_party/nix/src/libexpr/eval.hh @@ -318,7 +318,7 @@ struct InvalidPathError : EvalError { Path path; InvalidPathError(const Path& path); #ifdef EXCEPTION_NEEDS_THROW_SPEC - ~InvalidPathError() throw(){}; + ~InvalidPathError() noexcept {}; #endif }; |