Skip to content

Commit b5975cc

Browse files
committed
Fix: Use correct name
1 parent 7361819 commit b5975cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cppcore/Container/TStaticArray.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ inline size_t TStaticArray<T, len>::size() const {
120120

121121
template <class T, size_t len>
122122
inline T TStaticArray<T, len>::operator[](size_t index) const {
123-
assert(index < m_len);
123+
assert(index < mLen);
124124

125125
return mArray[index];
126126
}
@@ -148,7 +148,7 @@ inline TStaticArray<T, len> &TStaticArray<T, len>::operator = (const TStaticArra
148148
}
149149

150150
for (unsigned int i = 0; i < mLen; ++i) {
151-
mArray[i] = rhs.mArray[i];
151+
mArray[i] = rhs.mArray[i];
152152
}
153153

154154
return *this;

0 commit comments

Comments
 (0)