Skip to content

Commit

Permalink
iox-eclipse-iceoryx#1032 Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Feb 5, 2024
1 parent 6c945a3 commit b3f850c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion iceoryx_binding_c/test/moduletests/test_subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class iox_sub_test : public Test

auto chunkSettings = ChunkSettings::create(USER_PAYLOAD_SIZE, iox::CHUNK_DEFAULT_USER_PAYLOAD_ALIGNMENT)
.expect("Valid 'ChunkSettings'");
;
return m_memoryManager.getChunk(chunkSettings).expect("Obtaining chunk");
}

Expand Down
2 changes: 1 addition & 1 deletion iceoryx_hoofs/posix/ipc/include/iox/detail/named_pipe.inl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ expected<void, PosixIpcChannelError> NamedPipe::timedSend(const iox::string<N>&
template <uint64_t N>
expected<void, PosixIpcChannelError> NamedPipe::receive(iox::string<N>& message) const noexcept
{
m_data->receiveSemaphore().wait().expect("'tryWait' on a semaphore should always be successful");
m_data->receiveSemaphore().wait().expect("'wait' on a semaphore should always be successful");
auto msg = m_data->messages.pop();
if (msg.has_value())
{
Expand Down
4 changes: 2 additions & 2 deletions iceoryx_hoofs/posix/utility/source/posix_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ int32_t getSchedulerPriorityMinimum(const Scheduler scheduler) noexcept
auto result = IOX_POSIX_CALL(sched_get_priority_min)(static_cast<int>(scheduler)).failureReturnValue(-1).evaluate();
if (result.has_error())
{
IOX_PANIC("The \"sched_get_priority_min\" should never fail! Either the system is not POSIX compliant or and "
IOX_PANIC("The \"sched_get_priority_min\" should never fail! Either the system is not POSIX compliant or an "
"invalid integer was casted to the \"Scheduler\" enum class.");
}
return result.value().value;
Expand All @@ -39,7 +39,7 @@ int32_t getSchedulerPriorityMaximum(const Scheduler scheduler) noexcept
auto result = IOX_POSIX_CALL(sched_get_priority_max)(static_cast<int>(scheduler)).failureReturnValue(-1).evaluate();
if (result.has_error())
{
IOX_PANIC("The \"sched_get_priority_min\" should never fail! Either the system is not POSIX compliant or and "
IOX_PANIC("The \"sched_get_priority_min\" should never fail! Either the system is not POSIX compliant or an "
"invalid integer was casted to the \"Scheduler\" enum class.");
}
return result.value().value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace iox
namespace testing
{
template <typename ErrorType>
// NOLINTJUSTIFICATION The complexity comes from the expanded macros; without the expansions the functions is quite readable
// NOLINTJUSTIFICATION The complexity comes from the expanded macros; without the expansions the function is quite readable
// NOLINTNEXTLINE(readability-function-size, readability-function-cognitive-complexity)
inline bool IOX_EXPECT_FATAL_FAILURE(const function_ref<void()> testFunction,
const ErrorType expectedError [[maybe_unused]])
Expand Down
2 changes: 1 addition & 1 deletion iceoryx_posh/source/roudi/port_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ void PortManager::sendToAllMatchingClientPorts(const capro::CaproMessage& messag
auto serverResponse = serverSource.dispatchCaProMessageAndGetPossibleResponse(clientResponse.value());
if (serverResponse.has_value())
{
// sende responsee to client port
// send response to client port
clientPort.dispatchCaProMessageAndGetPossibleResponse(serverResponse.value())
.and_then([](auto& response) {
IOX_LOG(FATAL, "Got response '" << response.m_type << "'");
Expand Down

0 comments on commit b3f850c

Please sign in to comment.