diff --git a/smocore/componentThread.cpp b/smocore/componentThread.cpp index cb4ff79..32d3af5 100644 --- a/smocore/componentThread.cpp +++ b/smocore/componentThread.cpp @@ -119,7 +119,14 @@ public: void callOriginalCbFn(void) { - if (originalCbFn) { + if (originalCbFn) + { + /** EXPLANATION: + * This is only permissible because originalCbFn doesn't take any + * further arguments. If we had to bind argument to it before + * posting it, we'd have to std::bind them and then post the + * resulting function object. + */ caller->getIoService().post(originalCbFn); } }