Skip to content

Commit 913f5d8

Browse files
committed
explicit all single param constructors
1 parent fbd4de7 commit 913f5d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/GWG/GWG.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class GWG {
4141
explicit GWG(const char* interface);
4242
#endif
4343
template<class C>
44-
GWG(C* interface)
44+
explicit GWG(C* interface)
4545
: _state(State::UNDEFINED)
4646
, _currentMillis(vw_millis())
4747
, _lastMillis(_currentMillis)

src/VS1/VS1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class VS1 {
4141
explicit VS1(const char* interface);
4242
#endif
4343
template<class C>
44-
VS1(C* interface)
44+
explicit VS1(C* interface)
4545
: _state(State::UNDEFINED)
4646
, _currentMillis(vw_millis())
4747
, _lastMillis(_currentMillis)

0 commit comments

Comments
 (0)