Ensure platform-independent output from SpecialException::what

This commit is contained in:
Martin Hořeňovský committed 2018-05-12 20:37:13 +02:00
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;
};