Skip to content

Commit

Permalink
Disambiguate testing namespace in GUNIT_PREVENT_COMMAS
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Goodwyn committed Aug 11, 2023
1 parent 4873244 commit e23ed1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/GUnit/GAssert.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void prevent_commas(T&&) {}
} // namespace testing

#define GUNIT_PREVENT_COMMAS(...) \
decltype(testing::detail::prevent_commas(__VA_ARGS__))()
decltype(::testing::detail::prevent_commas(__VA_ARGS__))()

#define EXPECT_IMPL(...) \
(::testing::detail::op<std::true_type>{ \
Expand Down

0 comments on commit e23ed1e

Please sign in to comment.