Removed tuple literal syntax. Sad panda.

This commit is contained in:
Cody Brocious 2017-09-22 12:03:08 -06:00
parent 5f24f5703c
commit 9ce1afcfe1

View file

@ -182,10 +182,10 @@ void IpcBridge::run() {
msg.pid = readint();
msg.copiedHandles = readarray([this] { return (ghandle) readint(); });
msg.movedHandles = readarray([this] { return (ghandle) readint(); });
msg.a = readarray([this] { return tuple{readdata(), (int) readint()}; });
msg.b = readarray([this] { return tuple{readdata(), (int) readint()}; });
msg.a = readarray([this] { return make_tuple(readdata(), (int) readint()); });
msg.b = readarray([this] { return make_tuple(readdata(), (int) readint()); });
msg.c = readarray([this] { return readdata(); });
msg.x = readarray([this] { return tuple{readdata(), (int) readint()}; });
msg.x = readarray([this] { return make_tuple(readdata(), (int) readint()); });
auto hnd = (ghandle) readint();
auto packed = msg.pack();