about summary refs log tree commit diff
path: root/third_party/nix/src/libutil/types.hh
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-18T01·34+0100
committerVincent Ambo <tazjin@google.com>2020-05-18T01·34+0100
commit6dc6c29fa4a4ddd3bb72f8415fac5936d719bd44 (patch)
tree560a8389d1682465599d94193053811acfd5de37 /third_party/nix/src/libutil/types.hh
parentc584480cd46fb49e690e931f326472e512a82878 (diff)
refactor(3p/nix/libutil): Replace internal logging library with glog r/754
Diffstat (limited to 'third_party/nix/src/libutil/types.hh')
-rw-r--r--third_party/nix/src/libutil/types.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/nix/src/libutil/types.hh b/third_party/nix/src/libutil/types.hh
index ab2fee3922..25e9d23017 100644
--- a/third_party/nix/src/libutil/types.hh
+++ b/third_party/nix/src/libutil/types.hh
@@ -77,8 +77,8 @@ class BaseError : public std::exception {
   BaseError(Args... args) : err(fmt(args...)) {}
 
 #ifdef EXCEPTION_NEEDS_THROW_SPEC
-  ~BaseError() throw(){};
-  const char* what() const throw() { return err.c_str(); }
+  ~BaseError() noexcept {};
+  const char* what() const noexcept { return err.c_str(); }
 #else
   const char* what() const noexcept { return err.c_str(); }
 #endif