提交 70bbf195 编写于 作者: T Ted Lyngmo

Fix -Weffc++ warnings (GNU 6.3.1)

上级 5b809b97
......@@ -6172,21 +6172,6 @@ class basic_json
thousands_sep(!loc->thousands_sep ? '\0' : loc->thousands_sep[0]),
decimal_point(!loc->decimal_point ? '\0' : loc->decimal_point[0])
{}
serializer(const serializer& cpy)
: o(cpy.o),
thousands_sep(cpy.thousands_sep),
decimal_point(cpy.decimal_point),
loc(cpy.loc),
indent_string(cpy.indent_string)
{}
serializer& operator=(const serializer& rhs) {
o = rhs.o;
thousands_sep = rhs.thousands_sep;
decimal_point = rhs.decimal_point;
loc = rhs.loc;
indent_string = rhs.indent_string;
return *this;
}
/*!
@brief internal implementation of the serialization function
......
......@@ -6172,21 +6172,6 @@ class basic_json
thousands_sep(!loc->thousands_sep ? '\0' : loc->thousands_sep[0]),
decimal_point(!loc->decimal_point ? '\0' : loc->decimal_point[0])
{}
serializer(const serializer& cpy)
: o(cpy.o),
thousands_sep(cpy.thousands_sep),
decimal_point(cpy.decimal_point),
loc(cpy.loc),
indent_string(cpy.indent_string)
{}
serializer& operator=(const serializer& rhs) {
o = rhs.o;
thousands_sep = rhs.thousands_sep;
decimal_point = rhs.decimal_point;
loc = rhs.loc;
indent_string = rhs.indent_string;
return *this;
}
/*!
@brief internal implementation of the serialization function
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册