Skip to content

Commit b828462

Browse files
committed
🔧 [cmake] 3.12
1 parent 76042c3 commit b828462

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# (See accompanying file LICENSE_1_0.txt or copy at
66
# http://www.boost.org/LICENSE_1_0.txt)
77
#
8-
cmake_minimum_required(VERSION 3.5)
8+
cmake_minimum_required(VERSION 3.12)
99
project(GUnit CXX)
1010

1111
set(MASTER_PROJECT OFF)

include/GUnit/GMock.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class GMock {
305305

306306
template <class TName, class R, class... TArgs>
307307
void original_defer_call(TArgs... args) {
308-
calls.push_back([=, this] { original_call<TName, R>(args...); });
308+
calls.push_back([this, args...] { original_call<TName, R>(args...); });
309309
}
310310

311311
public:

0 commit comments

Comments
 (0)