Skip to content

Commit

Permalink
Merge pull request dogecoin#44 from MarcoFalke/Mf1709-univalue-cherry…
Browse files Browse the repository at this point in the history
…pick-explicit

Declare single-argument (non-converting) constructors "explicit"
  • Loading branch information
jgarzik authored Nov 12, 2017
2 parents 420c226 + fe805ea commit 35ed96d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/univalue_utffilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
class JSONUTF8StringFilter
{
public:
JSONUTF8StringFilter(std::string &s):
explicit JSONUTF8StringFilter(std::string &s):
str(s), is_valid(true), codepoint(0), state(0), surpair(0)
{
}
Expand Down

0 comments on commit 35ed96d

Please sign in to comment.