Merge pull request #789 from mwoehlke-kitware/remove-useless-const

Remove useless const qualifiers from returns
This commit is contained in:
erwincoumans
2016-09-21 08:12:11 -07:00
committed by GitHub
4 changed files with 15 additions and 15 deletions

View File

@@ -22,7 +22,7 @@ public:
vec3(const btVector3& btv) { *this = btv; }
idScalar& operator()(int i) { return (*this)[i]; }
const idScalar& operator()(int i) const { return (*this)[i]; }
const int size() const { return 3; }
int size() const { return 3; }
const vec3& operator=(const btVector3& rhs) {
*static_cast<btVector3*>(this) = rhs;
return *this;