Skip to content

Commit a523e08

Browse files
committed
Merge #7: Declare single-argument (non-converting) constructors "explicit"
fe805ea Declare single-argument (non-converting) constructors "explicit" (practicalswift) Pull request description: Rebased on #4. Closes #6, which stripped the original author. Tree-SHA512: 4f4164fb1bbce54e5e28a5cf1327c4d7a2058e74384d1173de843acbfb71a3dc4a11e559650b86c6ac9063ea9c76c96fa371bff985d794c8dc904448f4ecd095
2 parents a9e53b3 + fe805ea commit a523e08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/univalue_utffilter.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
class JSONUTF8StringFilter
1414
{
1515
public:
16-
JSONUTF8StringFilter(std::string &s):
16+
explicit JSONUTF8StringFilter(std::string &s):
1717
str(s), is_valid(true), codepoint(0), state(0), surpair(0)
1818
{
1919
}

0 commit comments

Comments
 (0)