commit | 906c2eab6dc58eeb86b85e635b47606edb684e9c | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Fri Oct 31 11:24:50 2014 -0700 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Sun Nov 02 16:03:47 2014 -0800 |
tree | 04032cbb3f7b0d4a4c1fe5c28a97246d2436ad57 | |
parent | 31ad44cf147e736968f0cb0bffd9006f6611078f [diff] [blame] |
build: Always build in C++11 mode. Change-Id: Id8c26bc5951a0b60c4f2f0868ad0167b2f0d56af Refs: #2103
diff --git a/src/state.cpp b/src/state.cpp index 9d434ec..251d46b 100644 --- a/src/state.cpp +++ b/src/state.cpp
@@ -57,7 +57,7 @@ SeqNo old = (*leaf)->getSeq(); m_leaves.modify(leaf, - bind(&Leaf::setSeq, _1, seq)); + [=] (LeafPtr& leaf) { leaf->setSeq(seq); } ); return make_tuple(false, true, old); } }