Skip to content

Commit

Permalink
Fix compiling with GCC 14
Browse files Browse the repository at this point in the history
  • Loading branch information
LourensVeen committed Aug 2, 2024
1 parent c4f4d5b commit 3f3538e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmuscle/cpp/src/libmuscle/tests/test_instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ struct libmuscle_instance_base : ::testing::Test, ConnectedPortManagerFixture {
std::vector<std::string>());

MockSettingsManager::return_value.get_setting.side_effect = [](
Reference const &, Reference const &) -> SettingValue {
Reference const &, Reference const &) -> const SettingValue & {
throw std::out_of_range("No settings set in mock, unset or replace side_effect");
};
}
Expand Down

0 comments on commit 3f3538e

Please sign in to comment.