Skip to content

Commit 5c3916f

Browse files
committed
iox-#1613 Fix macOS build
1 parent 9497239 commit 5c3916f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

iceoryx_posh/test/moduletests/test_popo_chunk_distributor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ TYPED_TEST(ChunkDistributor_test, AddingNullptrQueueDoesNotWork)
135135
auto sutData = this->getChunkDistributorData();
136136
typename TestFixture::ChunkDistributor_t sut(sutData.get());
137137

138-
139-
IOX_EXPECT_FATAL_FAILURE<iox::HoofsError>([&] { sut.tryAddQueue(nullptr); },
138+
IOX_EXPECT_FATAL_FAILURE<iox::HoofsError>([&] { IOX_DISCARD_RESULT(sut.tryAddQueue(nullptr)); },
140139
iox::HoofsError::EXPECTS_ENSURES_FAILED);
141140
}
142141

0 commit comments

Comments
 (0)