Fix ambiguous reference to WARNING when using miniglog.

- When compiling on Clang on OS X with MINIGLOG enabled, name lookup
  finds two ambiguous definitions of WARNING, one in the global
  namespace and one in the google namespace, both defined in the
  miniglog version of logging.h.

Change-Id: I6f1ad7d2750e1ed20ec1ba4574aab599086431df
This commit is contained in:
Alex Stewart
2017-03-09 11:56:50 +00:00
parent e5dceb3ab0
commit 987d3b6b37
@@ -155,7 +155,7 @@ TEST(LevenbergMarquardtStrategy, CorrectDiagonalToLinearSolver) {
EXPECT_CALL(log, Log(GLOG_WARNING, _,
HasSubstr("Failed to compute a step")));
#else
EXPECT_CALL(log, Log(WARNING, _,
EXPECT_CALL(log, Log(google::WARNING, _,
HasSubstr("Failed to compute a step")));
#endif