diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-19T17·19+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-19T17·19+0100 |
commit | b37ff365ad771837565d5764905b79b24fc97814 (patch) | |
tree | 743a456ca5245c861ac2ccef1e9e4fa14952481c /third_party | |
parent | 09cbc431cca08be891e5e792ceda2a34956b2fc8 (diff) |
fix(3p/nix/libexpr): Use noexcept instead of throw() r/769
Diffstat (limited to 'third_party')
-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 }; |