Move FMT_MAYBE_UNUSED to where it's actually used

This commit is contained in:
Victor Zverovich
2020-05-05 19:16:30 -07:00
parent 080e44d0bf
commit 40bc7163fb
2 changed files with 15 additions and 15 deletions

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