diff options
Diffstat (limited to 'base/callback.h.pump')
-rw-r--r-- | base/callback.h.pump | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/callback.h.pump b/base/callback.h.pump index 2efe0c5..34b0eb0 100644 --- a/base/callback.h.pump +++ b/base/callback.h.pump @@ -226,6 +226,7 @@ namespace base { template <typename Sig> class Callback; + $range ARITY 0..MAX_ARITY $for ARITY [[ $range ARG 1..ARITY @@ -256,7 +257,7 @@ $for ARG , template <typename T> Callback(const internal::InvokerStorageHolder<T>& invoker_holder) : CallbackBase( - reinterpret_cast<InvokeFuncStorage>(&T::FunctionTraits::DoInvoke), + reinterpret_cast<InvokeFuncStorage>(&T::Invoker::DoInvoke), &invoker_holder.invoker_storage_) { } |