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 a42c562 commit 5641ba2Copy full SHA for 5641ba2
1 file changed
simplecpp.h
@@ -87,6 +87,7 @@ namespace simplecpp {
87
#else
88
struct View
89
{
90
+ // NOLINTNEXTLINE(misc-explicit-constructor)
91
// cppcheck-suppress noExplicitConstructor
92
View(const char* data SIMPLECPP_LIFETIMEBOUND)
93
: mData(data)
@@ -100,6 +101,7 @@ namespace simplecpp {
100
101
, mSize(size)
102
{}
103
104
105
106
View(const std::string& str SIMPLECPP_LIFETIMEBOUND)
107
: mData(str.data())
0 commit comments