diff --git a/vcg/complex/complex.h b/vcg/complex/complex.h index 01ca188c..88c74834 100644 --- a/vcg/complex/complex.h +++ b/vcg/complex/complex.h @@ -297,16 +297,9 @@ private: Color4b c; public: - inline Color4b C() const - { - return c; - } - - inline Color4b & C() - { - return c; - } - + inline const Color4b &C() const { return c; } + inline Color4b &C() { return c; } + inline Color4b cC() const { return c; } /// Default constructor TriMesh()