Skip to content

Commit 463feca

Browse files
committed
Fix bad return from lambdas
1 parent faee799 commit 463feca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mvec/mvec_lib/test/mvec_socketcan_hardware.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ TEST_CASE("MvecRelaySocketcan hardware integration test", "[hardware]")
136136
return fuse_status;
137137
}
138138
}
139+
return std::nullopt;
139140
});
140141

141142
REQUIRE(fuse_status_future.wait_for(std::chrono::seconds(2)) == std::future_status::ready);
@@ -164,6 +165,7 @@ TEST_CASE("MvecRelaySocketcan hardware integration test", "[hardware]")
164165
return relay_status;
165166
}
166167
}
168+
return std::nullopt;
167169
});
168170

169171
REQUIRE(relay_status_future.wait_for(std::chrono::seconds(2)) == std::future_status::ready);

0 commit comments

Comments
 (0)