diff options
Diffstat (limited to 'googlemock/test/gmock_link_test.h')
-rw-r--r-- | googlemock/test/gmock_link_test.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/googlemock/test/gmock_link_test.h b/googlemock/test/gmock_link_test.h index dc9bd85..eaf18e9 100644 --- a/googlemock/test/gmock_link_test.h +++ b/googlemock/test/gmock_link_test.h @@ -221,7 +221,8 @@ class Mock : public Interface { MOCK_METHOD1(VoidFromVector, void(const std::vector<int>& v)); private: - GTEST_DISALLOW_COPY_AND_ASSIGN_(Mock); + Mock(const Mock&) = delete; + Mock& operator=(const Mock&) = delete; }; class InvokeHelper { |