Skip to content

Commit

Permalink
fix: fixed namespace collision warning in test
Browse files Browse the repository at this point in the history
Signed-off-by: Janosch Machowinski <[email protected]>
  • Loading branch information
Janosch Machowinski authored and Janosch Machowinski committed Dec 11, 2023
1 parent 9c701b7 commit c16ea98
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions rosbag2_compression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ if(BUILD_TESTING)
)

ament_add_gmock(test_sequential_compression_writer
test/rosbag2_compression/test_sequential_compression_writer.cpp
test/rosbag2_compression/fake_compressor.cpp)
test/rosbag2_compression/test_sequential_compression_writer.cpp)
target_link_libraries(test_sequential_compression_writer
${PROJECT_NAME}
fake_plugin
rosbag2_cpp::rosbag2_cpp
rosbag2_storage::rosbag2_storage
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include "rosbag2_compression/compression_factory.hpp"
#include "fake_compressor.hpp"

class FakeCompressionFactory
class ROSBAG2_COMPRESSION_PUBLIC FakeCompressionFactory
: public rosbag2_compression::CompressionFactory
{
public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
#include "rosbag2_compression/base_compressor_interface.hpp"
#include "rosbag2_storage/serialized_bag_message.hpp"

class FakeCompressor : public rosbag2_compression::BaseCompressorInterface
class ROSBAG2_COMPRESSION_PUBLIC FakeCompressor : public rosbag2_compression::
BaseCompressorInterface
{
public:
FakeCompressor() = default;
Expand Down

0 comments on commit c16ea98

Please sign in to comment.