We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76042c3 commit b828462Copy full SHA for b828462
CMakeLists.txt
@@ -5,7 +5,7 @@
5
# (See accompanying file LICENSE_1_0.txt or copy at
6
# http://www.boost.org/LICENSE_1_0.txt)
7
#
8
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.12)
9
project(GUnit CXX)
10
11
set(MASTER_PROJECT OFF)
include/GUnit/GMock.h
@@ -305,7 +305,7 @@ class GMock {
305
306
template <class TName, class R, class... TArgs>
307
void original_defer_call(TArgs... args) {
308
- calls.push_back([=, this] { original_call<TName, R>(args...); });
+ calls.push_back([this, args...] { original_call<TName, R>(args...); });
309
}
310
311
public:
0 commit comments