Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: P. J. Reed <preed@swri.org>
  • Loading branch information
pjreed committed May 28, 2020
1 parent e3ee058 commit d9589e3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#include <algorithm>
#include <cstdio>
#include <fstream>
#include <memory>
Expand All @@ -25,7 +26,7 @@
#include "rosbag2_compression/zstd_compressor.hpp"
#include "rosbag2_compression/zstd_decompressor.hpp"

#include <rosbag2_storage/ros_helper.hpp>
#include "rosbag2_storage/ros_helper.hpp"

#include "rosbag2_test_common/temporary_directory_fixture.hpp"

Expand Down Expand Up @@ -114,7 +115,7 @@ class CompressionHelperFixture : public rosbag2_test_common::TemporaryDirectoryF

std::string deserialize_message(std::shared_ptr<rcutils_uint8_array_t> serialized_message)
{
std::unique_ptr<uint8_t[]> copied(new uint8_t[serialized_message->buffer_length+1]);
std::unique_ptr<uint8_t[]> copied(new uint8_t[serialized_message->buffer_length + 1]);
std::copy(serialized_message->buffer,
serialized_message->buffer + serialized_message->buffer_length,
copied.get());
Expand Down

0 comments on commit d9589e3

Please sign in to comment.