Skip to content

Commit

Permalink
Merge bitcoin#7: Declare single-argument (non-converting) constructor…
Browse files Browse the repository at this point in the history
…s "explicit"

fe805ea Declare single-argument (non-converting) constructors "explicit" (practicalswift)

Pull request description:

  Rebased on bitcoin#4.

  Closes bitcoin#6, which stripped the original author.

Tree-SHA512: 4f4164fb1bbce54e5e28a5cf1327c4d7a2058e74384d1173de843acbfb71a3dc4a11e559650b86c6ac9063ea9c76c96fa371bff985d794c8dc904448f4ecd095
  • Loading branch information
laanwj committed Oct 11, 2017
2 parents a9e53b3 + fe805ea commit a523e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/univalue_utffilter.h
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 a523e08

Please sign in to comment.