From 0d44a6e3d78590207061593c6f503242eea826b6 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Fri, 30 Oct 2020 07:38:30 -0500 Subject: [PATCH] Cleanup: Drop unused forward declaration (#113) Signed-off-by: Michael Carroll --- graphics/include/ignition/common/Animation.hh | 1 - graphics/src/Animation.cc | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/graphics/include/ignition/common/Animation.hh b/graphics/include/ignition/common/Animation.hh index 65209519d..c0843519f 100644 --- a/graphics/include/ignition/common/Animation.hh +++ b/graphics/include/ignition/common/Animation.hh @@ -34,7 +34,6 @@ namespace ignition class KeyFrame; class PoseKeyFrame; class NumericKeyFrame; - class AnimationPrivate; class TrajectoryInfoPrivate; /// \class Animation Animation.hh ignition/common/Animation.hh diff --git a/graphics/src/Animation.cc b/graphics/src/Animation.cc index 272ccb5eb..a8d7d76b0 100644 --- a/graphics/src/Animation.cc +++ b/graphics/src/Animation.cc @@ -40,11 +40,15 @@ namespace } ///////////////////////////////////////////////// -class ignition::common::AnimationPrivate +namespace ignition { +namespace common { +class AnimationPrivate { /// \brief true if the animation is interpolated in x public: bool interpolateX = false; }; +} // namespace ignition +} // namespace common // TODO(luca) Make Animation class follow PIMPL and remove global static map /////////////////////////////////////////////////