diff options
Diffstat (limited to '3rdparty/bx/include/bx/error.h')
-rw-r--r-- | 3rdparty/bx/include/bx/error.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/3rdparty/bx/include/bx/error.h b/3rdparty/bx/include/bx/error.h index d98a111f5af..da1b8329b6f 100644 --- a/3rdparty/bx/include/bx/error.h +++ b/3rdparty/bx/include/bx/error.h @@ -72,11 +72,16 @@ namespace bx return result; } - bool operator==(ErrorResult _rhs) const + bool operator==(const ErrorResult& _rhs) const { return _rhs.code == m_code; } + bool operator!=(const ErrorResult& _rhs) const + { + return _rhs.code != m_code; + } + private: const char* m_msg; uint32_t m_code; |