Unordered/hash: Avoid a gcc warning. Refs #6771

[SVN r77832]
This commit is contained in:
Daniel James committed 2012-04-08 15:29:15 +00:00
1 parent a6f8c51afb
commit f98a942e2e
5 files changed
+29 -3

No files matched your search

+4
View File
@@ -30,6 +30,10 @@
#endif
#endif
#if defined(__GNUC__)
#pragma GCC diagnostic ignored "-Wfloat-equal"
#endif
char const* float_type(float*) { return "float"; }
char const* float_type(double*) { return "double"; }
char const* float_type(long double*) { return "long double"; }