Skip to content

Commit

Permalink
Change argument name to better reflect behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcarroll committed Oct 9, 2018
1 parent 325a1c9 commit 193fd3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/msg_cache_unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ TEST(Cache, easySurroundingInterval)
}


std::shared_ptr<Msg const> buildMsg(int32_t time, int data)
std::shared_ptr<Msg const> buildMsg(int32_t seconds, int data)
{
Msg* msg = new Msg ;
msg->data = data ;
msg->header.stamp = rclcpp::Time(time, 0) ;
msg->header.stamp = rclcpp::Time(seconds, 0) ;

std::shared_ptr<Msg const> msg_ptr(msg) ;
return msg_ptr ;
Expand Down

0 comments on commit 193fd3b

Please sign in to comment.