Skip to content

Commit

Permalink
Merge branch 'main' into image_pimpl
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 authored Jul 26, 2023
2 parents c21aa42 + c96cefd commit dd68f85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions include/gz/rendering/RenderEngineManager.hh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ namespace gz
/// render-engines available at runtime. RenderEngine objects should not
/// be access directly, but instead via the RenderEngineManager to maintain
/// a flexible render-engine agnostic design.
class GZ_RENDERING_VISIBLE RenderEngineManager :
public virtual common::SingletonT<RenderEngineManager>
class GZ_RENDERING_VISIBLE RenderEngineManager
{
/// \brief Constructor
public: RenderEngineManager();
Expand Down Expand Up @@ -136,7 +135,6 @@ namespace gz
public: void SetPluginPaths(const std::list<std::string> &_paths);

/// \brief Get a pointer to the render engine manager
/// \todo(anyone) Remove inheritance from Singleton base class
/// \return a pointer to the render engine manager
public: static RenderEngineManager *Instance();

Expand Down
2 changes: 1 addition & 1 deletion src/RenderEngineManager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ void RenderEngineManager::SetPluginPaths(const std::list<std::string> &_paths)
//////////////////////////////////////////////////
RenderEngineManager *RenderEngineManager::Instance()
{
return SingletonT<RenderEngineManager>::Instance();
return gz::common::SingletonT<RenderEngineManager>::Instance();
}

//////////////////////////////////////////////////
Expand Down

0 comments on commit dd68f85

Please sign in to comment.