diff options
| -rw-r--r-- | Jamroot.jam | 1 | ||||
| -rw-r--r-- | libadhocutil/compileTimeFormatter.h | 4 | 
2 files changed, 3 insertions, 2 deletions
diff --git a/Jamroot.jam b/Jamroot.jam index dfe522d..2299a06 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -32,6 +32,7 @@ project  			<toolset>tidy:<checkxx>hicpp-*  			<toolset>tidy:<xcheckxx>hicpp-vararg  			<toolset>tidy:<xcheckxx>hicpp-signed-bitwise +			<toolset>tidy:<xcheckxx>hicpp-named-parameter  			<toolset>tidy:<xcheckxx>hicpp-no-array-decay  			<toolset>tidy:<checkxx>performance-*  			<toolset>tidy:<define>ICE_IGNORE_VERSION diff --git a/libadhocutil/compileTimeFormatter.h b/libadhocutil/compileTimeFormatter.h index 7e4eef1..1d47ef7 100644 --- a/libadhocutil/compileTimeFormatter.h +++ b/libadhocutil/compileTimeFormatter.h @@ -325,11 +325,11 @@ namespace AdHoc {  		template<typename T, T... t> struct FMT {  			/// CTF format string  			// NOLINTNEXTLINE(hicpp-avoid-c-arrays,modernize-avoid-c-arrays) -			static constexpr char __FMT[] = {t...}; +			static constexpr char fmtstr[] = {t...};  		};  		template<typename T, T... t> inline auto operator""_fmt() noexcept  		{ -			return AdHoc::FormatterDetail<FMT<T, t...>::__FMT, sizeof...(t)>(); +			return AdHoc::FormatterDetail<FMT<T, t...>::fmtstr, sizeof...(t)>();  		}  #endif  #ifdef __clang__  | 
