From 203b691d4683353f3b51eb87412b70f692d08e72 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 18 Jul 2019 16:15:30 -0400 Subject: [PATCH] Add defaulted copy assignement operators --- .../include/boost/iostreams/device/mapped_file.hpp | 3 +++ .../boost-1.70.0/libs/serialization/src/basic_xml_grammar.ipp | 1 + 2 files changed, 4 insertions(+) diff --git a/bundled/boost-1.70.0/include/boost/iostreams/device/mapped_file.hpp b/bundled/boost-1.70.0/include/boost/iostreams/device/mapped_file.hpp index 1332beabd1..dbcf9f1583 100644 --- a/bundled/boost-1.70.0/include/boost/iostreams/device/mapped_file.hpp +++ b/bundled/boost-1.70.0/include/boost/iostreams/device/mapped_file.hpp @@ -136,6 +136,9 @@ struct basic_mapped_file_params : base_type(other), path(other.path) { } + // Assignment operator + basic_mapped_file_params& operator=(const basic_mapped_file_params& other) = default; + // Templated copy constructor template basic_mapped_file_params(const basic_mapped_file_params& other) diff --git a/bundled/boost-1.70.0/libs/serialization/src/basic_xml_grammar.ipp b/bundled/boost-1.70.0/libs/serialization/src/basic_xml_grammar.ipp index dcec1cc6be..b511394a73 100644 --- a/bundled/boost-1.70.0/libs/serialization/src/basic_xml_grammar.ipp +++ b/bundled/boost-1.70.0/libs/serialization/src/basic_xml_grammar.ipp @@ -85,6 +85,7 @@ struct assign_impl { assign_impl & operator=( assign_impl & rhs ); + assign_impl(const assign_impl &) = default; assign_impl(std::string & t_) : t(t_) {} -- 2.39.5