fix: add cast to void to silence compiler warning in case of empty parameter list

This commit is contained in:
Christian Schneider
2023-03-15 17:25:18 +01:00
committed by Stanislav Angelovič
parent 29c877a89a
commit f6e597a583

View File

@ -76,7 +76,7 @@ namespace sdbus {
{
assert(call_.isValid());
auto reply = call_.createReply();
(reply << ... << results);
(void)(reply << ... << results);
reply.send();
}