Ensure platform-independent output from SpecialException::what
This commit is contained in:
1 parent
6c5c4c43a0
commit
e5fe3e877a
6 files changed
+20
-16
No files matched your search
@@ -45,6 +45,10 @@ namespace { namespace MatchersTests {
|
||||
struct SpecialException : std::exception {
|
||||
SpecialException(int i_) : i(i_) {}
|
||||
|
||||
char const* what() const noexcept override {
|
||||
return "SpecialException::what";
|
||||
}
|
||||
|
||||
int i;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user