Merge "Fix anonymous class error" into main
This commit is contained in:
commit
44b0e7a725
1 changed files with 4 additions and 0 deletions
|
@ -32,7 +32,11 @@
|
||||||
#include <math.h> // For M_PI_2/M_PI_2l.
|
#include <math.h> // For M_PI_2/M_PI_2l.
|
||||||
|
|
||||||
// Prettify gtest Complex printing.
|
// Prettify gtest Complex printing.
|
||||||
|
// Macro 'complex' defined in complex.h conflicts with iostream.
|
||||||
|
#pragma push_macro("complex")
|
||||||
|
#undef complex
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#pragma pop_macro("complex")
|
||||||
namespace testing {
|
namespace testing {
|
||||||
namespace internal {
|
namespace internal {
|
||||||
inline void PrintTo(const double _Complex& c, std::ostream* os) {
|
inline void PrintTo(const double _Complex& c, std::ostream* os) {
|
||||||
|
|
Loading…
Reference in a new issue