#include "LocalComm.h"
+#include "Error.h"
+#include "Table.h"
+
Array<char> *LocalComm::sendDataToLocalDevice(int64_t deviceId, Array<char> *data) {
printf("Passing Locally\n");
} else if (deviceId == t2->getMachineId()) {
// return t2.localCommInput(data);
} else {
- throw new Error("Cannot send to " + deviceId + " using this local comm");
+ throw new Error("Cannot send to deviceId using this local comm");
}
- return new char[0];
+ return new Array<char>((uint32_t)0);
}