Skip to content

Commit 007c6e9

Browse files
authored
Add symbol visibility macros to make*Palette public functions (#1492)
Signed-off-by: Silvio Traversaro <[email protected]>
1 parent 2520ea6 commit 007c6e9

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
@@ -41,9 +41,15 @@ namespace rviz_default_plugins
4141
namespace displays
4242
{
4343

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

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

0 commit comments

Comments
 (0)