]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Tue, 7 Jun 2022 16:52:41 +0000 (09:52 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Tue, 7 Jun 2022 16:52:41 +0000 (09:52 -0700)
open-vm-tools/lib/include/sigc++2to3.h

index 27ccdc6027de2969a80e2388ae4f322cf0cb34f1..8f150b1d691896fff83c9814e7cb54742854ebfc 100644 (file)
@@ -68,9 +68,13 @@ using slot7 = slot<T_ret(T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7)
 
 // Bridge signal syntax change
 template <typename T_ret, typename... T_args>
-class signal : public signal<T_ret(T_args...)> {
+class signal : public signal<T_ret(T_args...)>, public trackable {
 public:
    signal() = default;
+
+   decltype(auto) make_slot() const {
+      return mem_fun(*this, &signal::emit);
+   }
 };
 
 template <typename T_ret>