mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-22 23:24:34 +00:00
Further fix
This commit is contained in:
parent
df5d11fc25
commit
eab517912c
@ -126,10 +126,9 @@ template <typename T> class Result {
|
|||||||
T* operator-> () noexcept { assert (m_init); return &m_value; }
|
T* operator-> () noexcept { assert (m_init); return &m_value; }
|
||||||
const T& operator* () const& noexcept { assert (m_init); return m_value; }
|
const T& operator* () const& noexcept { assert (m_init); return m_value; }
|
||||||
T& operator* () & noexcept { assert (m_init); return m_value; }
|
T& operator* () & noexcept { assert (m_init); return m_value; }
|
||||||
T&& operator* () && noexcept { assert (m_init); return std::move (m_value); }
|
T operator* () && noexcept { assert (m_init); return std::move (m_value); }
|
||||||
const T& value () const& noexcept { assert (m_init); return m_value; }
|
const T& value () const& noexcept { assert (m_init); return m_value; }
|
||||||
T& value () & noexcept { assert (m_init); return m_value; }
|
T& value () & noexcept { assert (m_init); return m_value; }
|
||||||
const T&& value () const&& noexcept { assert (m_init); return std::move (m_value); }
|
|
||||||
T value () && noexcept { assert (m_init); return std::move (m_value); }
|
T value () && noexcept { assert (m_init); return std::move (m_value); }
|
||||||
|
|
||||||
// std::error_code associated with the error
|
// std::error_code associated with the error
|
||||||
|
Loading…
Reference in New Issue
Block a user