namespace Test { class Clock; } class Test::Clock { public: Clock(void); private: uint64_t m_start; uint64_t m_last_frame; uint64_t m_current; float m_scale; }; using namespace Test; Clock::Clock(void) : m_start(0), m_last_frame(0), m_current(0), m_scale(1.0f) { }
All of the member variables give warnings that they are not initialized in the constructor.
ok. I created a ticket http://trac.cppcheck.net/ticket/8244
Log in to post a comment.
All of the member variables give warnings that they are not initialized in the constructor.
ok. I created a ticket http://trac.cppcheck.net/ticket/8244