]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add defaulted copy assignement operators
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 18 Jul 2019 20:15:30 +0000 (16:15 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 18 Jul 2019 20:22:45 +0000 (16:22 -0400)
bundled/boost-1.70.0/include/boost/iostreams/device/mapped_file.hpp
bundled/boost-1.70.0/libs/serialization/src/basic_xml_grammar.ipp

index 1332beabd14c34d24f1f74ba0f6a20bb04592eab..dbcf9f158398fe491744c72581da1144f6794796 100644 (file)
@@ -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<typename PathT>
     basic_mapped_file_params(const basic_mapped_file_params<PathT>& other)
index dcec1cc6bee6d9326c13d572b714dc8db8a1a536..b511394a733a5cab17419790741869278ab0f0d5 100644 (file)
@@ -85,6 +85,7 @@ struct assign_impl<std::string> {
     assign_impl<std::string> & operator=(
         assign_impl<std::string> & rhs
     );
+    assign_impl(const assign_impl &) = default;
     assign_impl(std::string & t_)
         : t(t_)
     {}

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.