Skip to content

Commit

Permalink
Drop using namespace from PointCloud plugin
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Oct 31, 2023
1 parent 659f0b8 commit b81be50
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/plugins/point_cloud/PointCloud.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@

#include "PointCloud.hh"

namespace gz::gui::plugins
{
/// \brief Private data class for PointCloud
class gz::gui::plugins::PointCloudPrivate
class PointCloudPrivate
{
/// \brief Makes a request to populate the scene with markers
public: void PublishMarkers();
Expand Down Expand Up @@ -92,10 +94,6 @@ class gz::gui::plugins::PointCloudPrivate
public: bool showing{true};
};

using namespace gz;
using namespace gui;
using namespace plugins;

/////////////////////////////////////////////////
PointCloud::PointCloud()
: dataPtr(std::make_unique<PointCloudPrivate>())
Expand Down Expand Up @@ -515,7 +513,8 @@ void PointCloud::SetPointSize(float _pointSize)
this->PointSizeChanged();
this->dataPtr->PublishMarkers();
}
} // namespace gz::gui::plugins

// Register this plugin
GZ_ADD_PLUGIN(gz::gui::plugins::PointCloud,
gz::gui::Plugin)
gz::gui::Plugin)

0 comments on commit b81be50

Please sign in to comment.