Fix member lookup

dependabot/npm_and_yarn/Src/WebController/UI/websocket-extensions-0.1.4
Grzegorz Rychlik 2020-02-24 10:25:28 +01:00
parent 7417140f67
commit 69f1691e9e
2 changed files with 3 additions and 3 deletions

View File

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

View File

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