From 734fb519d1fc6b422c0db97d0b5f42fdb09fad03 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Tue, 15 Mar 2022 15:11:43 -0500 Subject: [PATCH] Remove deprecated copies Addresses #332 Signed-off-by: Michael Carroll --- include/ignition/physics/SpecifyData.hh | 9 --------- include/ignition/physics/detail/SpecifyData.hh | 8 -------- 2 files changed, 17 deletions(-) diff --git a/include/ignition/physics/SpecifyData.hh b/include/ignition/physics/SpecifyData.hh index 36da911e7..e242e54c3 100644 --- a/include/ignition/physics/SpecifyData.hh +++ b/include/ignition/physics/SpecifyData.hh @@ -48,15 +48,6 @@ namespace ignition /// \brief Default constructor public: ExpectData(); - /// \brief Copy constructor. - /// The copy constructor of the base class, CompositeData, is called - /// before this copy constructor and it does the actual copying of the - /// data contained in the MapData object of `_other`. Thus, this copy - /// constructor simply calls the default constructor to initialize the - /// MapData iterator of this object to point the appropriate iterator in - /// the newly copied MapData. - public: ExpectData(const ExpectData &_other); - /// 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 diff --git a/include/ignition/physics/detail/SpecifyData.hh b/include/ignition/physics/detail/SpecifyData.hh index 056e76394..973e080d5 100644 --- a/include/ignition/physics/detail/SpecifyData.hh +++ b/include/ignition/physics/detail/SpecifyData.hh @@ -39,14 +39,6 @@ namespace ignition // Do nothing } - ///////////////////////////////////////////////// - template - ExpectData::ExpectData(const ExpectData &) - : ExpectData() - { - // Do nothing - } - ///////////////////////////////////////////////// template template