We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
misc-explicit-constructor
1 parent b347ddd commit 38bbfddCopy full SHA for 38bbfdd
1 file changed
simplecpp.h
@@ -88,6 +88,7 @@ namespace simplecpp {
88
struct View
89
{
90
// cppcheck-suppress noExplicitConstructor
91
+ // NOLINTNEXTLINE(misc-explicit-constructor)
92
View(const char* data SIMPLECPP_LIFETIMEBOUND)
93
: mData(data)
94
, mSize(strlen(data))
@@ -101,6 +102,7 @@ namespace simplecpp {
101
102
{}
103
104
105
106
View(const std::string& str SIMPLECPP_LIFETIMEBOUND)
107
: mData(str.data())
108
, mSize(str.size())
0 commit comments