Skip to content

Commit

Permalink
Revert "Add missing visibility declarations (#548)" (#553)
Browse files Browse the repository at this point in the history
This reverts commit a52a7d2.

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Nov 9, 2023
1 parent a52a7d2 commit 57b6f81
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions profiler/src/RemoteryProfilerImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/

#include "gz/common/config.hh"
#include <gz/common/profiler/Export.hh>

#include "RemoteryProfilerImpl.hh"
#include "gz/common/Console.hh"
Expand All @@ -25,7 +24,6 @@
using namespace gz;
using namespace common;

GZ_COMMON_PROFILER_VISIBLE
std::string rmtErrorToString(rmtError error) {
switch (error) {
case RMT_ERROR_NONE:
Expand Down
2 changes: 1 addition & 1 deletion src/SignalHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ using namespace gz;
using namespace common;

// A wrapper for the sigaction sa_handler.
GZ_COMMON_VISIBLE std::map<int, std::function<void(int)>> gOnSignalWrappers;
std::map<int, std::function<void(int)>> gOnSignalWrappers;
std::mutex gWrapperMutex;

/////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion testing/include/gz/common/testing/CMakeTestPaths.hh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace gz::common::testing
///
/// It is not intended that users will directly construct this, but rather
/// utilize the TestPathFactory.
class GZ_COMMON_TESTING_VISIBLE CMakeTestPaths: public TestPaths
class CMakeTestPaths: public TestPaths
{
/// \brief Constructor from TestPaths
public: using TestPaths::TestPaths;
Expand Down

0 comments on commit 57b6f81

Please sign in to comment.