We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
misc-explicit-constructor
1 parent a14d773 commit 1f0ca44Copy full SHA for 1f0ca44
1 file changed
simplecpp.h
@@ -84,6 +84,7 @@ namespace simplecpp {
84
struct View
85
{
86
// cppcheck-suppress noExplicitConstructor
87
+ // NOLINTNEXTLINE(misc-explicit-constructor)
88
View(const char* data SIMPLECPP_LIFETIMEBOUND)
89
: mData(data)
90
, mSize(strlen(data))
@@ -97,6 +98,7 @@ namespace simplecpp {
97
98
{}
99
100
101
102
View(const std::string& str SIMPLECPP_LIFETIMEBOUND)
103
: mData(str.data())
104
, mSize(str.size())
0 commit comments