Skip to content

Commit 2d8ee15

Browse files
committed
helpers.h: mitigated google-explicit-constructor clang-tidy and noExplicitConstructor selfcheck warning
1 parent 59f2c59 commit 2d8ee15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class SimpleTokenList
9191
{
9292
public:
9393
template<size_t size>
94-
SimpleTokenList(const char (&data)[size], Standards::Language lang = Standards::Language::CPP)
94+
explicit SimpleTokenList(const char (&data)[size], Standards::Language lang = Standards::Language::CPP)
9595
{
9696
if (!list.createTokens(data, size-1, lang))
9797
throw std::runtime_error("creating tokens failed");

0 commit comments

Comments
 (0)