Commit 7aee8c61 by Jan Möbius

Merge branch 'fix_cpp_checks' into 'master'

Fix cpp checks

See merge request !126
parents 9ba36574 91887738
Pipeline #4254 passed with stage
in 63 minutes 46 seconds
......@@ -38,7 +38,7 @@ echo "CPPCHECK Summary"
echo "=============================================================================="
echo -e "${NC}"
MAX_COUNT=8
MAX_COUNT=6
if [ $COUNT -gt $MAX_COUNT ]; then
echo -e ${WARNING}
......
......@@ -261,7 +261,8 @@ void TimerImplStd::stop(void)
// ----------------------------------------------------------------- Timer ----
Timer::Timer(void)
Timer::Timer(void) :
state_(Stopped)
{
#if defined(WIN32) && (defined(_MSC_VER) || defined(__INTEL_COMPILER) || defined(__MINGW32__))
impl_ = new TimerImplWin32;
......@@ -280,7 +281,7 @@ Timer::Timer(void)
#else
impl_ = new TimerImplStd;
#endif
state_ = Stopped;
}
Timer::~Timer(void)
......
......@@ -102,6 +102,9 @@ public:
};
Timer(void);
Timer(const Timer& _other) = delete;
~Timer(void);
/// Returns true if self is in a valid state!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment