Skip to content

Commit 309537d

Browse files
committed
Code clean up
1 parent 62b081c commit 309537d

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.DS_Store

14 KB
Binary file not shown.

rosbag2_cpp/test/rosbag2_cpp/test_sequential_writer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#include <gmock/gmock.h>
1616

1717
#include <filesystem>
18-
#include <fstream>
1918
#include <memory>
2019
#include <stdexcept>
2120
#include <string>

rosbag2_transport/test/rosbag2_transport/test_play_seek.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class RosBag2PlaySeekTestFixture
5050
const fs::path base{_SRC_RESOURCES_DIR_PATH};
5151
const fs::path bag_path = base / GetParam() / "test_bag_for_seek";
5252

53-
storage_options_ = rosbag2_storage::StorageOptions({bag_path.string(), "", 0, 0, 0, 0});
53+
storage_options_ = rosbag2_storage::StorageOptions({bag_path.string(), "", 0, 0, 0});
5454
play_options_.read_ahead_queue_size = 2;
5555
reader_ = std::make_unique<rosbag2_cpp::Reader>();
5656

rosbag2_transport/test/rosbag2_transport/test_readers_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ TEST_F(Rosbag2ReadersWrapperTestFixture, seek_in_multiple_readers)
139139
TEST_F(Rosbag2ReadersWrapperTestFixture, get_storage_options_from_multiple_readers)
140140
{
141141
// Create different storage options for each reader
142-
rosbag2_storage::StorageOptions storage_options1 = {"uri1", "storage_id", 0, 100, 0};
143-
rosbag2_storage::StorageOptions storage_options2 = {"uri2", "storage_id", 0, 100, 0};
142+
rosbag2_storage::StorageOptions storage_options1 = {"uri1", "storage_id", 0, 100};
143+
rosbag2_storage::StorageOptions storage_options2 = {"uri2", "storage_id", 0, 100};
144144

145145
readers_with_options_[0].second = storage_options1;
146146
readers_with_options_[1].second = storage_options2;

0 commit comments

Comments
 (0)