From 70bbf1952739f2890d1d19186eb1dcad11b23486 Mon Sep 17 00:00:00 2001
From: Ted Lyngmo <ted@lyncon.se>
Date: Sat, 11 Mar 2017 13:56:38 +0100
Subject: [PATCH] Fix -Weffc++ warnings (GNU 6.3.1)

---
 src/json.hpp      | 15 ---------------
 src/json.hpp.re2c | 15 ---------------
 2 files changed, 30 deletions(-)

diff --git a/src/json.hpp b/src/json.hpp
index 8883acd9..6d5b5586 100644
--- a/src/json.hpp
+++ b/src/json.hpp
@@ -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
diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c
index 6e90e6b8..21639efc 100644
--- a/src/json.hpp.re2c
+++ b/src/json.hpp.re2c
@@ -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