|
|
@@ -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;
|