Index: base/bind.h.pump |
diff --git a/base/bind.h.pump b/base/bind.h.pump |
index b321649aea6fbf3f4e5db3153c5983f060a90c22..2cdd7d5e49857eda6dc86a3d29abe6dc1247c5c9 100644 |
--- a/base/bind.h.pump |
+++ b/base/bind.h.pump |
@@ -93,14 +93,14 @@ $if ARITY > 0 [[, ]] $for ARG , [[const P$(ARG)& p$(ARG)]]) { |
typedef typename internal::FunctorTraits<Functor>::RunnableType RunnableType; |
typedef typename internal::FunctorTraits<Functor>::RunType RunType; |
+$if ARITY > 0 [[ |
+ |
// Use RunnableType::RunType instead of RunType above because our |
// checks should below for bound references need to know what the actual |
// functor is going to interpret the argument as. |
typedef internal::FunctionTraits<typename RunnableType::RunType> |
BoundFunctorTraits; |
-$if ARITY > 0 [[ |
- |
// Do not allow binding a non-const reference parameter. Non-const reference |
// parameters are disallowed by the Google style guide. Also, binding a |
// non-const reference parameter can make for subtle bugs because the |