We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6df124 commit 30aa8a8Copy full SHA for 30aa8a8
src/util/json.h
@@ -119,7 +119,7 @@ class jsont
119
{
120
}
121
122
- jsont(kindt _kind, std::string _value):kind(_kind), value(std::move(_value))
+ jsont(kindt _kind, std::string _value) : kind(_kind), value(std::move(_value))
123
124
125
@@ -184,8 +184,8 @@ class json_arrayt:public jsont
184
class json_stringt:public jsont
185
186
public:
187
- explicit json_stringt(std::string _value):
188
- jsont(kindt::J_STRING, std::move(_value))
+ explicit json_stringt(std::string _value)
+ : jsont(kindt::J_STRING, std::move(_value))
189
190
191
0 commit comments