summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/task.h b/base/task.h
index d71df20..cbb8c99 100644
--- a/base/task.h
+++ b/base/task.h
@@ -649,7 +649,7 @@ typename Callback5<Arg1, Arg2, Arg3, Arg4, Arg5>::Type* NewCallback(
template <class T, class Method, class Params>
class UnboundMethod {
public:
- UnboundMethod(Method m, Params p) : m_(m), p_(p) {
+ UnboundMethod(Method m, const Params& p) : m_(m), p_(p) {
COMPILE_ASSERT((MethodUsesScopedRefptrCorrectly<Method, Params>::value),
badunboundmethodparams);
}