diff --git a/doc/website/release-notes/iceoryx-unreleased.md b/doc/website/release-notes/iceoryx-unreleased.md index 8d9dab81c7..61dbd12b12 100644 --- a/doc/website/release-notes/iceoryx-unreleased.md +++ b/doc/website/release-notes/iceoryx-unreleased.md @@ -67,6 +67,7 @@ - `WaitSet::wait` returns if data was send before `WaitSet::attachState(.., State::HAS_{DATA, REQUEST, RESPONSE})` [\#1855](https://github.com/eclipse-iceoryx/iceoryx/issues/1855) - Provide a better error message when attempting to create a shared memory in read-only mode [\#1821](https://github.com/eclipse-iceoryx/iceoryx/issues/1821) +- Can not build iceoryx with gcc 9.4 [\#1871](https://github.com/eclipse-iceoryx/iceoryx/issues/1871) **Refactoring:** diff --git a/iceoryx_hoofs/test/moduletests/test_cxx_vector.cpp b/iceoryx_hoofs/test/moduletests/test_cxx_vector.cpp index 2c5f76caf8..b14f61497c 100644 --- a/iceoryx_hoofs/test/moduletests/test_cxx_vector.cpp +++ b/iceoryx_hoofs/test/moduletests/test_cxx_vector.cpp @@ -1512,7 +1512,9 @@ TEST_F(vector_test, EmplaceAtPositionAfterEndBeforeCapacityExceedsFails) sut.emplace_back(0U); sut.emplace_back(1U); - EXPECT_FALSE(sut.emplace(sut.size() + 1, 3U)); - ASSERT_THAT(sut.size(), Eq(2U)); + constexpr uint64_t EXPECTED_SIZE{2}; + ASSERT_THAT(sut.size(), EXPECTED_SIZE); + EXPECT_FALSE(sut.emplace(EXPECTED_SIZE + 1, 3U)); + ASSERT_THAT(sut.size(), EXPECTED_SIZE); } } // namespace