Fix build on gcc 4.4
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ std::string read(fmt::file &f, std::size_t count);
|
||||
template <typename Mock>
|
||||
struct ScopedMock : testing::StrictMock<Mock> {
|
||||
ScopedMock() { Mock::instance = this; }
|
||||
~ScopedMock() { Mock::instance = nullptr; }
|
||||
~ScopedMock() { Mock::instance = FMT_NULL; }
|
||||
};
|
||||
|
||||
#endif // FMT_GTEST_EXTRA_H_
|
||||
|
||||
Reference in New Issue
Block a user