diff options
author | John Hodge <tpg@mutabah.net> | 2018-05-12 12:52:46 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2018-05-12 12:52:46 +0800 |
commit | 144bd3cdcea986f907468074365dfd17893a0f0f (patch) | |
tree | 96b54201972d03623d2d1b96ea964eb3c13f8e04 /tools/standalone_miri/debug.hpp | |
parent | 174c4f47160dba499c84986d15180fe4307d4adc (diff) | |
download | mrust-144bd3cdcea986f907468074365dfd17893a0f0f.tar.gz |
Standalone Miri - Linux build support
Diffstat (limited to 'tools/standalone_miri/debug.hpp')
-rw-r--r-- | tools/standalone_miri/debug.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/standalone_miri/debug.hpp b/tools/standalone_miri/debug.hpp index 5afad96e..f7d32fe5 100644 --- a/tools/standalone_miri/debug.hpp +++ b/tools/standalone_miri/debug.hpp @@ -75,14 +75,14 @@ FunctionTrace<T,U> FunctionTrace_d(const char* fname, const char* file, unsigned struct DebugExceptionTodo: public ::std::exception { - const char* what() const { + const char* what() const noexcept override { return "TODO hit"; } }; struct DebugExceptionError: public ::std::exception { - const char* what() const { + const char* what() const noexcept override { return "error"; } }; |