forked from Kistler-Group/sdbus-cpp
Switch to fully supported C++17
This commit is contained in:
committed by
Stanislav Angelovič
parent
d591b69f92
commit
975f1bf07f
@@ -76,12 +76,7 @@ namespace sdbus {
|
||||
{
|
||||
assert(call_.isValid());
|
||||
auto reply = call_.createReply();
|
||||
#ifdef __cpp_fold_expressions
|
||||
(reply << ... << results);
|
||||
#else
|
||||
using _ = std::initializer_list<int>;
|
||||
(void)_{(void(reply << results), 0)...};
|
||||
#endif
|
||||
reply.send();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user