🔨 fixed warning about pointer members
This commit is contained in:
parent
82b95ca664
commit
e191dd833f
2 changed files with 459 additions and 462 deletions
12
src/json.hpp
12
src/json.hpp
|
@ -6807,10 +6807,6 @@ class basic_json
|
|||
*/
|
||||
class serializer
|
||||
{
|
||||
private:
|
||||
serializer(const serializer&) = delete;
|
||||
serializer& operator=(const serializer&) = delete;
|
||||
|
||||
public:
|
||||
/*!
|
||||
@param[in] s output stream to serialize to
|
||||
|
@ -6823,6 +6819,10 @@ class basic_json
|
|||
indent_char(ichar), indent_string(512, indent_char)
|
||||
{}
|
||||
|
||||
// delete because of pointer members
|
||||
serializer(const serializer&) = delete;
|
||||
serializer& operator=(const serializer&) = delete;
|
||||
|
||||
/*!
|
||||
@brief internal implementation of the serialization function
|
||||
|
||||
|
@ -11182,6 +11182,10 @@ class basic_json
|
|||
: ia(adapter), decimal_point_char(get_decimal_point())
|
||||
{}
|
||||
|
||||
// delete because of pointer members
|
||||
lexer(const lexer&) = delete;
|
||||
lexer& operator=(lexer&) = delete;
|
||||
|
||||
private:
|
||||
/////////////////////
|
||||
// locales
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue