mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 09:33:36 +02:00
Fix for obnoxious C++0x warning in GCC.
This commit is contained in:
parent
d9573f6d6c
commit
17b2ee6984
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ public:
|
|||
|
||||
const glm::vec3& getPosition() const { return _position; }
|
||||
const rgbColor& getColor() const { return _color; }
|
||||
xColor getColor() { return { _color[RED_INDEX], _color[GREEN_INDEX], _color[BLUE_INDEX] }; }
|
||||
xColor getColor() { xColor color = { _color[RED_INDEX], _color[GREEN_INDEX], _color[BLUE_INDEX] }; return color; }
|
||||
float getRadius() const { return _radius; }
|
||||
const glm::vec3& getVelocity() const { return _velocity; }
|
||||
const glm::vec3& getGravity() const { return _gravity; }
|
||||
|
@ -144,4 +144,4 @@ private:
|
|||
};
|
||||
|
||||
|
||||
#endif /* defined(__hifi__Particle__) */
|
||||
#endif /* defined(__hifi__Particle__) */
|
||||
|
|
Loading…
Reference in a new issue