Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
This removes the forward declaration and just includes the
`gz/rendering/GlobalIlluminationCiVct.hh`. Since
CiVctCascadePrivate.hh is not going to be installed, and it's only used by
CiVctCascadePrivate.cc, I don't think there's much gain from forward
declarations.

Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed Oct 11, 2023
1 parent 39863ff commit 1acf47c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

#include "GlobalIlluminationCiVct.hh"

#include "gz/rendering/GlobalIlluminationCiVct.hh"

using namespace gz;
using namespace sim;

Expand Down
14 changes: 2 additions & 12 deletions src/gui/plugins/global_illumination_civct/CiVctCascadePrivate.hh
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,8 @@

#include "Tsa.hh"

namespace gz
{
namespace rendering
{
inline namespace GZ_SIM_VERSION_NAMESPACE
{
/// Forward declare the only ptr we need
class CiVctCascade;
typedef std::shared_ptr<CiVctCascade> CiVctCascadePtr;
} // namespace GZ_SIM_GAZEBO_VERSION_NAMESPACE
} // namespace rendering
} // namespace gz

#include "gz/rendering/GlobalIlluminationCiVct.hh"

namespace gz
{
Expand Down

0 comments on commit 1acf47c

Please sign in to comment.