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

This commit is contained in:
Christian Schneider authored and Stanislav Angelovič committed 2023-08-03 12:59:48 +02:00
1 parent 29c877a89a
commit f6e597a583
1 file changed
+1 -1
+1 -1
View File
@@ -76,7 +76,7 @@ namespace sdbus {
{
assert(call_.isValid());
auto reply = call_.createReply();
(reply << ... << results);
(void)(reply << ... << results);
reply.send();
}