Move FMT_MAYBE_UNUSED to where it's actually used

This commit is contained in:
Victor Zverovich committed 2020-05-05 19:41:07 -07:00
1 parent 080e44d0bf
commit 40bc7163fb
2 files changed
+15 -15

No files matched your search

+8
View File
@@ -88,6 +88,14 @@
# define FMT_FALLTHROUGH
#endif
#ifndef FMT_MAYBE_UNUSED
# if FMT_HAS_CPP17_ATTRIBUTE(maybe_unused)
# define FMT_MAYBE_UNUSED [[maybe_unused]]
# else
# define FMT_MAYBE_UNUSED
# endif
#endif
#ifndef FMT_THROW
# if FMT_EXCEPTIONS
# if FMT_MSC_VER || FMT_NVCC