- fixed compilation with MSVC 14.28.29333 from VS2019 16.8.0

include\algorithm(7419,17): error C3892: '_First': you cannot assign to a variable that is const (compiling source file src\rendering\hwrenderer\scene\hw_drawlist.cpp)
This commit is contained in:
alexey.lysiuk 2020-11-12 12:06:03 +02:00 committed by drfrag
parent e1e6ebc488
commit 64e0ea59d1

View file

@ -98,8 +98,7 @@ public:
T& operator[](difference_type i) { return m_ptr[i]; } T& operator[](difference_type i) { return m_ptr[i]; }
const T& operator[](difference_type i) const { return m_ptr[i]; } const T& operator[](difference_type i) const { return m_ptr[i]; }
T &operator*() { return *m_ptr; } T &operator*() const { return *m_ptr; }
const T &operator*() const { return *m_ptr; }
T* operator->() { return m_ptr; } T* operator->() { return m_ptr; }
protected: protected: