Fix -Weffc++ warnings (GNU 6.3.1)

This commit is contained in:
Ted Lyngmo 2017-03-11 13:56:38 +01:00
parent 9cfb777b65
commit 5b809b9737
2 changed files with 8 additions and 0 deletions

View file

@ -6159,6 +6159,10 @@ 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

View file

@ -6159,6 +6159,10 @@ 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