🔨 fixed warning about pointer members

This commit is contained in:
Niels Lohmann 2017-06-20 21:09:05 +02:00
parent 82b95ca664
commit e191dd833f
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
2 changed files with 459 additions and 462 deletions

View file

@ -6807,10 +6807,6 @@ class basic_json
*/ */
class serializer class serializer
{ {
private:
serializer(const serializer&) = delete;
serializer& operator=(const serializer&) = delete;
public: public:
/*! /*!
@param[in] s output stream to serialize to @param[in] s output stream to serialize to
@ -6823,6 +6819,10 @@ class basic_json
indent_char(ichar), indent_string(512, indent_char) 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 @brief internal implementation of the serialization function
@ -11182,6 +11182,10 @@ class basic_json
: ia(adapter), decimal_point_char(get_decimal_point()) : ia(adapter), decimal_point_char(get_decimal_point())
{} {}
// delete because of pointer members
lexer(const lexer&) = delete;
lexer& operator=(lexer&) = delete;
private: private:
///////////////////// /////////////////////
// locales // locales

File diff suppressed because it is too large Load diff