Skip to content

Commit

Permalink
tests: fix clang-diagnostic-unused-result
Browse files Browse the repository at this point in the history
  • Loading branch information
MiKom committed Jul 18, 2024
1 parent e2541ea commit 26b9379
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ TEST_CASE("Notifies about events")
// Register a notifier to listen to the read end of the pipe
auto notifier1 = std::make_unique<FileDescriptorNotifier>(pipe1[0], FileDescriptorNotifier::NotificationType::Read);
bool notified = false;
notifier1->triggered.connect([&notified](const int &) {
std::ignore = notifier1->triggered.connect([&notified](const int &) {
SPDLOG_INFO("Notifier has been triggered");
notified = true;
});
Expand Down

0 comments on commit 26b9379

Please sign in to comment.