mirror of https://github.com/infosecn1nja/C3.git
Fix member lookup
parent
7417140f67
commit
69f1691e9e
|
@ -101,7 +101,7 @@ namespace MWR::C3
|
|||
std::string GetInterfaceName()
|
||||
{
|
||||
# ifndef _MSC_VER
|
||||
static_assert(false, "Current implementation supports only MSVC.");
|
||||
static_assert(false, "Current implementation supports only MSVC and clang-cl.");
|
||||
# endif
|
||||
|
||||
std::string_view fullName = __FUNCSIG__;
|
||||
|
|
|
@ -104,11 +104,11 @@ namespace MWR::CppCommons::CppTools
|
|||
|
||||
/// Success translator.
|
||||
/// @return true if current state of the object indicates success.
|
||||
bool IsSuccess() const { return XErrorBase<UnderlyingType>::m_Value.IsSuccess(); }
|
||||
bool IsSuccess() const { return this->m_Value.IsSuccess(); }
|
||||
|
||||
/// Failure translator.
|
||||
/// @return true if current state of the object indicates failure.
|
||||
bool IsFailure() const { return XErrorBase<UnderlyingType>::m_Value.IsFailure(); }
|
||||
bool IsFailure() const { return this->m_Value.IsFailure(); }
|
||||
};
|
||||
|
||||
/// XError specialization for HRESULT - let's provide IsSuccess and IsFailure. @note You shouldn't use XErrorImpl templates directly. They have internal purposes. Use XError template instead.
|
||||
|
|
Loading…
Reference in New Issue