Skip to content

Commit

Permalink
Fix ExpectData compiler warnings (#335)
Browse files Browse the repository at this point in the history
Use default assignment operator.
Addresses #332.

Signed-off-by: Michael Carroll <michael@openrobotics.org>
  • Loading branch information
mjcarroll authored Mar 28, 2022
1 parent d140cfc commit c36aee7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/ignition/physics/SpecifyData.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c36aee7

Please sign in to comment.