Skip to content

Commit

Permalink
Fix compilation of scene broadcaster test
Browse files Browse the repository at this point in the history
This test fails to compile with the latest version
of protobuf, which is currently available on macOS.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Jul 19, 2022
1 parent 6d3eac2 commit f6c09f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/integration/scene_broadcaster_system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ TEST_P(SceneBroadcasterTest, DeletedTopic)

// The id of the deleted entity should have been published
// Note: Only model entities are currently supported for deletion
EXPECT_TRUE(std::find_if(delMsg.data().cbegin(), delMsg.data().cend(),
EXPECT_NE(delMsg.data().cend(),
std::find_if(delMsg.data().cbegin(), delMsg.data().cend(),
[&cylinderModelId](const auto &_val)
{
return _val == cylinderModelId;
Expand Down

0 comments on commit f6c09f1

Please sign in to comment.