From 6937384e625dd44b181d0216fde6234be1b7c874 Mon Sep 17 00:00:00 2001 From: tqchen Date: Mon, 19 Jan 2015 21:37:23 -0800 Subject: [PATCH] Squashed 'subtree/rabit/' changes from 85b7463..4ebe657 4ebe657 fix in cxx11 git-subtree-dir: subtree/rabit git-subtree-split: 4ebe657dd75999c1556c5f77625bdef2cd29917e --- include/rabit/rabit-inl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/rabit/rabit-inl.h b/include/rabit/rabit-inl.h index d2a20eecb..e0a14f4ad 100644 --- a/include/rabit/rabit-inl.h +++ b/include/rabit/rabit-inl.h @@ -294,9 +294,9 @@ inline void SerializeReducer::Allreduce(DType *sendrecvobj, } #if __cplusplus >= 201103L -template -inline void Reducer::Allreduce(DType *sendrecvbuf, size_t count, - std::function prepare_fun) { +template +inline void Reducer::Allreduce(DType *sendrecvbuf, size_t count, + std::function prepare_fun) { this->Allreduce(sendrecvbuf, count, InvokeLambda_, &prepare_fun); } template