Skip to content

Commit

Permalink
Use uint64_t type for fake_storage_size_ in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Orlov <[email protected]>
  • Loading branch information
MichaelOrlov committed Jun 25, 2024
1 parent 5016a0d commit 2cbfc29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class SequentialCompressionWriterTest : public TestWithParam<uint64_t>
std::unique_ptr<rosbag2_cpp::Writer> writer_;

std::string serialization_format_;
std::atomic<uint32_t> fake_storage_size_{0}; // Need to be atomic for cache update since it
std::atomic<uint64_t> fake_storage_size_{0}; // Need to be atomic for cache update since it
// uses in callback from cache_consumer thread
std::string fake_storage_uri_;
const std::string bag_base_dir_ = "test_bag";
Expand Down

0 comments on commit 2cbfc29

Please sign in to comment.