The motivation is that gcc 4.8+ and clang trunk warn on unused local
typedefs, which COMPILE_ASSERT adds. After this change, the warning
will be happy at least in C++11 builds. static_assert also produces a
slighly nicer diagnostic than the typedef method.
eb93e8bc43
did the same change in re2.
pull/621/head
parent
798ed10e7a
commit
56a90a2081
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue