|
|
@@ -1592,6 +1592,7 @@ public:
|
|
|
};
|
|
|
|
|
|
struct FunctionData {
|
|
|
+ explicit FunctionData(const Operation &op, const CallbackFunction &cb = CallbackFunction{}) : operation(op), callback(cb) {}
|
|
|
const Operation operation;
|
|
|
const CallbackFunction callback;
|
|
|
};
|
|
|
@@ -1650,7 +1651,7 @@ public:
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- return { Operation::None };
|
|
|
+ return FunctionData { Operation::None };
|
|
|
}
|
|
|
};
|
|
|
|