Skip to content

Commit

Permalink
Removed warning
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
  • Loading branch information
ahcorde committed May 15, 2024
1 parent 6d71757 commit 7cff916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zstd_point_cloud_transport/src/zstd_subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ ZstdSubscriber::DecodeResult ZstdSubscriber::decodeTyped(
auto result = std::make_shared<sensor_msgs::msg::PointCloud2>();

auto const est_decomp_size =
ZSTD_getDecompressedSize(&msg.compressed_data[0], msg.compressed_data.size());
ZSTD_getFrameContentSize(&msg.compressed_data[0], msg.compressed_data.size());

result->data.resize(est_decomp_size);

Expand Down

0 comments on commit 7cff916

Please sign in to comment.