Skip to content

Commit

Permalink
correct master build (#552)
Browse files Browse the repository at this point in the history
Signed-off-by: Karsten Knese <[email protected]>
  • Loading branch information
Karsten1987 authored and Emerson Knapp committed Feb 2, 2021
1 parent 1703ca0 commit 53a8622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosbag2_cpp/src/rosbag2_cpp/writers/sequential_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ void SequentialWriter::reset_cache()
storage_->write(cache_);
// reset cache
cache_.clear();
cache_.reserve(max_cache_size_);
cache_.reserve(storage_options_.max_cache_size);
current_cache_size_ = 0u;
}
}
Expand Down

0 comments on commit 53a8622

Please sign in to comment.