Skip to content

Commit

Permalink
Add missing visibility declarations (#548)
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero authored and mjcarroll committed Nov 10, 2023
1 parent 52a7816 commit 56bd6fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions profiler/src/RemoteryProfilerImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
*/

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

#include "RemoteryProfilerImpl.hh"
#include "gz/common/Console.hh"
Expand All @@ -24,6 +25,7 @@
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.
std::map<int, std::function<void(int)>> gOnSignalWrappers;
GZ_COMMON_VISIBLE std::map<int, std::function<void(int)>> gOnSignalWrappers;
std::mutex gWrapperMutex;

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

0 comments on commit 56bd6fd

Please sign in to comment.