mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fixed compilation with MSVC 14.28.29333 from VS2019 16.8.0
This fixes #175 include\algorithm(7419,1): error C2678: binary '=': no operator found which takes a left-hand operand of type 'const T' (or there is no acceptable conversion) (compiling source file source\common\scripting\jit\jit.cpp) include\algorithm(7419,17): error C3892: '_First': you cannot assign to a variable that is const (compiling source file source\core\searchpaths.cpp)
This commit is contained in:
parent
4dc1797345
commit
6b12514a29
1 changed files with 1 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue