Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1777)

Unified Diff: base/callback.h.pump

Issue 6538045: Callback: Replumb the type-inference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: rebased Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/callback.h ('k') | base/callback_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/callback.h.pump
diff --git a/base/callback.h.pump b/base/callback.h.pump
index 2efe0c546281da201109991f2fde7482448bfcee..34b0eb0b85549c82154064acf940ccaef4f4a42c 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_) {
}
« no previous file with comments | « base/callback.h ('k') | base/callback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698