about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-19T17·19+0100
committerVincent Ambo <tazjin@google.com>2020-05-19T17·19+0100
commitb37ff365ad771837565d5764905b79b24fc97814 (patch)
tree743a456ca5245c861ac2ccef1e9e4fa14952481c
parent09cbc431cca08be891e5e792ceda2a34956b2fc8 (diff)
fix(3p/nix/libexpr): Use noexcept instead of throw() r/769
-rw-r--r--third_party/nix/src/libexpr/eval.hh2
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
 };