Skip to content

Commit dd101b2

Browse files
Add symbol visibility macros to make*Palette public functions (#1492) (#1500)
(cherry picked from commit 007c6e9) Signed-off-by: Silvio Traversaro <[email protected]> Co-authored-by: Silvio Traversaro <[email protected]>
1 parent e333689 commit dd101b2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

rviz_default_plugins/include/rviz_default_plugins/displays/map/palette_builder.hpp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,15 @@ namespace rviz_default_plugins
4040
namespace displays
4141
{
4242

43-
std::vector<unsigned char> makeRawPalette(bool binary = false, int threshold = 100);
44-
std::vector<unsigned char> makeMapPalette(bool binary = false, int threshold = 100);
45-
std::vector<unsigned char> makeCostmapPalette(bool binary = false, int threshold = 100);
43+
RVIZ_DEFAULT_PLUGINS_PUBLIC std::vector<unsigned char> makeRawPalette(
44+
bool binary = false,
45+
int threshold = 100);
46+
RVIZ_DEFAULT_PLUGINS_PUBLIC std::vector<unsigned char> makeMapPalette(
47+
bool binary = false,
48+
int threshold = 100);
49+
RVIZ_DEFAULT_PLUGINS_PUBLIC std::vector<unsigned char> makeCostmapPalette(
50+
bool binary = false,
51+
int threshold = 100);
4652

4753
class PaletteBuilder : public
4854
std::enable_shared_from_this<PaletteBuilder>

0 commit comments

Comments
 (0)