Handle effGetChunk correctly

This commit is contained in:
Robbert van der Helm
2020-03-09 23:53:36 +01:00
parent 7e75f913fa
commit 7fcf5abaf2
3 changed files with 38 additions and 3 deletions
+2 -1
View File
@@ -114,7 +114,8 @@ inline T read_object(Socket& socket) {
* (`audioMaster()`). The `dispatch()` function will require some more specific
* structs.
*/
struct DefaultDataConverter {
class DefaultDataConverter {
public:
EventPayload read(const int /*opcode*/, const void* data) {
if (data == nullptr) {
return nullptr;