diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-18T01·34+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-18T01·34+0100 |
commit | 6dc6c29fa4a4ddd3bb72f8415fac5936d719bd44 (patch) | |
tree | 560a8389d1682465599d94193053811acfd5de37 /third_party/nix/src/libutil/types.hh | |
parent | c584480cd46fb49e690e931f326472e512a82878 (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.hh | 4 |
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 ab2fee392286..25e9d23017cf 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 |