Drop ambiguous overloads in VlWide

The 32-bit build fails with the ambiguous overload present.
This commit is contained in:
Geza Lore 2021-06-14 00:16:44 +01:00
parent 0c4d88bacc
commit 6016e74b55
1 changed files with 2 additions and 4 deletions

View File

@ -116,10 +116,8 @@ template <std::size_t T_Words> struct VlWide final {
// OPERATOR METHODS
VlWide& operator=(const VlWide&) = default;
VlWide& operator=(VlWide&&) = default;
const EData& operator[](size_t index) const { return m_storage[index]; };
EData& operator[](size_t index) { return m_storage[index]; };
operator WDataOutP() { return &m_storage[0]; }
operator WDataInP() const { return &m_storage[0]; }
operator WDataOutP() { return &m_storage[0]; } // This also allows []
operator WDataInP() const { return &m_storage[0]; } // This also allows []
// METHODS
const EData& at(size_t index) const { return m_storage[index]; }