Fix includes of C++ header
[src/app-framework-binder.git] / include / afb / c++ / binding-wrap.hpp
index a998469..f94d1bc 100644 (file)
@@ -21,6 +21,7 @@
 #include <cstdlib>
 #include <cstdarg>
 #include <functional>
+#include <string>
 
 /* ensure version */
 #ifndef AFB_BINDING_VERSION
@@ -782,7 +783,7 @@ constexpr afb_verb_t verb(
                session,
                auth,
                glob,
-               (void*)(&callback)
+               *(void**)(&callback)
        );
 }