From 3f28ba0356ddc53073b8e33c2964e33f46773f34 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Mon, 28 Mar 2022 13:00:35 -0500 Subject: [PATCH] Fix ExpectData compiler warnings (#335) Use default assignment operator. Addresses #332. Signed-off-by: Michael Carroll --- include/ignition/physics/SpecifyData.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/ignition/physics/SpecifyData.hh b/include/ignition/physics/SpecifyData.hh index 36da911e7..adccb5033 100644 --- a/include/ignition/physics/SpecifyData.hh +++ b/include/ignition/physics/SpecifyData.hh @@ -57,6 +57,9 @@ namespace ignition /// the newly copied MapData. public: ExpectData(const ExpectData &_other); + /// \brief Copy assignment operator. + public: ExpectData& operator=(const ExpectData &_other) = default; + /// TODO(anyone) Implement move constructor and assignment operator. Due /// to the multiple inheritence used to implement SpcifyData, care must be /// taken when implementing move constructs to avoid calling a move