diff options
| author | Martin Hořeňovský | 2019-11-16 17:38:29 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-02-13 15:31:09 +0100 |
| commit | ad3f50bbc1ad66bf9ad5005d1a5f52eb6b28972f (patch) | |
| tree | 7114749af1b01e5ac6e6947fbcdf2cf1447c16f0 /src | |
| parent | 13e01d273ae2cfb5758778bdd459eb166b675912 (diff) | |
| download | catch3-ad3f50bbc1ad66bf9ad5005d1a5f52eb6b28972f.tar.gz | |
Suppress using-namespace lint in GENERATE* macros
Closes #1799
Diffstat (limited to 'src')
| -rw-r--r-- | src/catch2/catch_generators.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/catch2/catch_generators.hpp b/src/catch2/catch_generators.hpp index 40edc9bb..de0b354d 100644 --- a/src/catch2/catch_generators.hpp +++ b/src/catch2/catch_generators.hpp @@ -196,10 +196,10 @@ namespace Generators { } // namespace Catch #define GENERATE( ... ) \ - Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [ ]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) + Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [ ]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-build-using-namespace) #define GENERATE_COPY( ... ) \ - Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [=]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) + Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [=]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-build-using-namespace) #define GENERATE_REF( ... ) \ - Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [&]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) + Catch::Generators::generate( CATCH_INTERNAL_LINEINFO, [&]{ using namespace Catch::Generators; return makeGenerators( __VA_ARGS__ ); } ) //NOLINT(google-build-using-namespace) #endif // TWOBLUECUBES_CATCH_GENERATORS_HPP_INCLUDED |