Created
December 30, 2016 16:44
-
-
Save Chippiewill/f081ec3d06a29312e18454460ad3d393 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/engines/utilities/engine_error.cc b/engines/utilities/engine_error.cc | |
index 7fc1f63..e16d299 100644 | |
--- a/engines/utilities/engine_error.cc | |
+++ b/engines/utilities/engine_error.cc | |
@@ -63,6 +63,11 @@ public: | |
return iter->second; | |
} | |
} | |
+ | |
+ std::error_condition default_error_condition(int code) const NOEXCEPT override { | |
+ return std::error_condition(code, *this); | |
+ } | |
+ | |
}; | |
const std::error_category& cb::engine_error_category() NOEXCEPT { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment