mirror of
https://github.com/google/googletest.git
synced 2025-12-01 00:27:46 -05:00
Fixes a slew of compiler warnings and turns on "warning as error" in the scons build.
This commit is contained in:
@@ -48,7 +48,12 @@ class FooInterface {
|
||||
|
||||
class MockFoo : public FooInterface {
|
||||
public:
|
||||
MockFoo() {}
|
||||
|
||||
MOCK_METHOD0(DoThis, void());
|
||||
|
||||
private:
|
||||
GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFoo);
|
||||
};
|
||||
|
||||
TEST(LeakTest, LeakedMockWithExpectCallCausesFailureWhenLeakCheckingIsEnabled) {
|
||||
|
||||
Reference in New Issue
Block a user