Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
Signed-off-by: Karsten Knese <[email protected]>
  • Loading branch information
Karsten1987 committed Apr 3, 2020
1 parent 4dbf070 commit 8c7a36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosbag2_cpp/test/rosbag2_cpp/test_sequential_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class SequentialReaderTest : public Test

EXPECT_CALL(*storage_factory, open_read_only(_, _));
ON_CALL(*storage_factory, open_read_only).WillByDefault(
[this](const std::string & path, const std::string & /* storage_id */) {
[this, relative_file_path](const std::string & path, const std::string & /* storage_id */) {
EXPECT_STREQ(relative_file_path.c_str(), path.c_str());
return storage_;
});
Expand Down

0 comments on commit 8c7a36b

Please sign in to comment.