Compilation error fixes, thanks GCC 4.8

This commit is contained in:
Pavel Kirienko
2014-04-02 14:12:21 +04:00
parent 9e91cd1e7c
commit e485541c2e
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ public:
return reinterpret_cast<const char*>(data_);
}
ValueType& at(SizeType pos) { return data_[validateRange(pos)]; }
ValueType& at(SizeType pos) { return data_[Base::validateRange(pos)]; }
const ValueType& at(SizeType pos) const { return data_[Base::validateRange(pos)]; }
ValueType& operator[](SizeType pos) { return at(pos); }