Skip to content

Commit

Permalink
Remove references in pointer API calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed Aug 15, 2018
1 parent 6c70808 commit 62d8611
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Helper
: count_(0)
{}

void cb(const MsgConstPtr&)
void cb(const MsgConstPtr)
{
++count_;
}
Expand Down Expand Up @@ -124,7 +124,7 @@ TEST(Subscriber, subInChain)

struct ConstHelper
{
void cb(const MsgConstPtr& msg)
void cb(const MsgConstPtr msg)
{
msg_ = msg;
}
Expand All @@ -134,7 +134,7 @@ struct ConstHelper

struct NonConstHelper
{
void cb(const MsgPtr& msg)
void cb(const MsgPtr msg)
{
msg_ = msg;
}
Expand Down

0 comments on commit 62d8611

Please sign in to comment.