Merge pull request #201 from matus-chochlik/master

Made conversion of span<> to bool explicit
This commit is contained in:
Neil MacIntosh 2015-11-19 09:15:40 -08:00
commit 4552575e34

View File

@ -1434,7 +1434,7 @@ public:
return m_pdata; return m_pdata;
} }
constexpr operator bool() const noexcept constexpr explicit operator bool() const noexcept
{ {
return m_pdata != nullptr; return m_pdata != nullptr;
} }
@ -1676,7 +1676,7 @@ public:
return m_pdata; return m_pdata;
} }
constexpr operator bool() const noexcept constexpr explicit operator bool() const noexcept
{ {
return m_pdata != nullptr; return m_pdata != nullptr;
} }