Remove the legacy internal GTEST_DISALLOW_* macros
PiperOrigin-RevId: 443715444 Change-Id: I3ffd54b63d2728ae4a668ee7875c8c3c8188087c
This commit is contained in:
committed by
Copybara-Service
parent
b85864c647
commit
bf66935e07
@@ -342,7 +342,8 @@ class Uncopyable {
|
||||
|
||||
private:
|
||||
int value_;
|
||||
GTEST_DISALLOW_COPY_AND_ASSIGN_(Uncopyable);
|
||||
Uncopyable(const Uncopyable&) = delete;
|
||||
Uncopyable& operator=(const Uncopyable&) = delete;
|
||||
};
|
||||
|
||||
// Returns true if and only if x.value() is positive.
|
||||
@@ -2764,7 +2765,10 @@ class NativeArrayPassedAsPointerAndSize {
|
||||
MOCK_METHOD(void, Helper, (int* array, int size));
|
||||
|
||||
private:
|
||||
GTEST_DISALLOW_COPY_AND_ASSIGN_(NativeArrayPassedAsPointerAndSize);
|
||||
NativeArrayPassedAsPointerAndSize(const NativeArrayPassedAsPointerAndSize&) =
|
||||
delete;
|
||||
NativeArrayPassedAsPointerAndSize& operator=(
|
||||
const NativeArrayPassedAsPointerAndSize&) = delete;
|
||||
};
|
||||
|
||||
TEST(ElementsAreTest, WorksWithNativeArrayPassedAsPointerAndSize) {
|
||||
|
||||
Reference in New Issue
Block a user