Browse Source

math: fix vector iterator member initialisation.

undefined
Sam Hocevar 10 years ago
parent
commit
769eea3950
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lol/math/vector.h

+ 2
- 2
src/lol/math/vector.h View File

@@ -1168,8 +1168,8 @@ class vec_const_iter
{
public:
inline vec_const_iter(vec_t<T,N,SWIZZLE> const &vec, int pos)
: m_pos(pos),
m_vec(vec)
: m_vec(vec),
m_pos(pos)
{ }

inline bool operator !=(vec_const_iter<T,N,SWIZZLE> const & that) const


Loading…
Cancel
Save