mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-04 05:09:53 +01:00
Suppressed meaningless function type qualifier warning in MSVC again
(this time in catch_tostring.h)
This commit is contained in:
parent
c5608f0202
commit
03d41ce5b9
@ -20,6 +20,10 @@
|
|||||||
#include "catch_objc_arc.hpp"
|
#include "catch_objc_arc.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable:4180) // qualifier applied to function type has no meaning
|
||||||
|
#endif
|
||||||
|
|
||||||
// We need a dummy global operator<< so we can bring it into Catch namespace later
|
// We need a dummy global operator<< so we can bring it into Catch namespace later
|
||||||
struct Catch_global_namespace_dummy;
|
struct Catch_global_namespace_dummy;
|
||||||
@ -320,7 +324,10 @@ namespace Catch {
|
|||||||
} // namespace Detail
|
} // namespace Detail
|
||||||
#endif // __OBJC__
|
#endif // __OBJC__
|
||||||
|
|
||||||
|
|
||||||
} // namespace Catch
|
} // namespace Catch
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#pragma warning(pop)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif // TWOBLUECUBES_CATCH_TOSTRING_H_INCLUDED
|
#endif // TWOBLUECUBES_CATCH_TOSTRING_H_INCLUDED
|
||||||
|
Loading…
Reference in New Issue
Block a user