Skip to content

Commit

Permalink
Fixes pointed out by clang. (#1493)
Browse files Browse the repository at this point in the history
In particular, the signature of compress_serialized_bag_message()
changed, so the mocking for it in mock_compression.hpp has
to change to match.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette committed Nov 14, 2023
1 parent abdc408 commit d6030c4
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ class MockCompressor : public rosbag2_compression::BaseCompressorInterface
{
public:
MOCK_METHOD1(compress_uri, std::string(const std::string & uri));
MOCK_METHOD1(
MOCK_METHOD2(
compress_serialized_bag_message,
void(rosbag2_storage::SerializedBagMessage * bag_message));
void(const rosbag2_storage::SerializedBagMessage *,
rosbag2_storage::SerializedBagMessage *));
MOCK_CONST_METHOD0(get_compression_identifier, std::string());
};

Expand Down

0 comments on commit d6030c4

Please sign in to comment.