From b37ff365ad771837565d5764905b79b24fc97814 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 19 May 2020 18:19:23 +0100 Subject: fix(3p/nix/libexpr): Use noexcept instead of throw() --- third_party/nix/src/libexpr/eval.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/nix/src') 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 }; -- cgit 1.4.1