Skip to content

Commit

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

Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll authored and azeey committed Mar 30, 2022
1 parent c4d7910 commit 3f28ba0
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 3f28ba0

Please sign in to comment.