Skip to content

Commit

Permalink
Add () to constructor call
Browse files Browse the repository at this point in the history
  • Loading branch information
sloretz committed May 15, 2018
1 parent 210346b commit 57192bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ClientListener : public eprosima::fastrtps::SubscriberListener

CustomClientResponse response;
// Todo(sloretz) eliminate heap allocation pending eprosima/Fast-CDR#19
response.buffer_.reset(new eprosima::fastcdr::FastBuffer);
response.buffer_.reset(new eprosima::fastcdr::FastBuffer());
eprosima::fastrtps::SampleInfo_t sinfo;

if (sub->takeNextData(response.buffer_.get(), &sinfo)) {
Expand Down

0 comments on commit 57192bd

Please sign in to comment.