delayed.h : fix cppcheck warnings

This commit is contained in:
Ingo Weyrich
2021-02-14 17:48:37 +01:00
parent c3df0b1d86
commit a1f3edbeab

View File

@@ -80,7 +80,7 @@ public:
{ {
} }
DelayedCall(unsigned int _min_delay_ms, unsigned int _max_delay_ms = 0) : explicit DelayedCall(unsigned int _min_delay_ms, unsigned int _max_delay_ms = 0) :
DelayedCall({}, _min_delay_ms, _max_delay_ms) DelayedCall({}, _min_delay_ms, _max_delay_ms)
{ {
} }
@@ -152,7 +152,7 @@ class DelayedConnection final :
public rtengine::NonCopyable public rtengine::NonCopyable
{ {
public: public:
DelayedConnection(unsigned int _min_delay_ms, unsigned int _max_delay_ms = 0) : explicit DelayedConnection(unsigned int _min_delay_ms, unsigned int _max_delay_ms = 0) :
min_delay_ms(_min_delay_ms), min_delay_ms(_min_delay_ms),
max_delay_ms(_max_delay_ms) max_delay_ms(_max_delay_ms)
{ {