From 0ca42e836ee922668ab78196274e0f0bbe960a46 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 13 Feb 2025 14:12:16 +0100 Subject: [PATCH] Workaround an MSVC v140 bug --- include/fmt/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/base.h b/include/fmt/base.h index 8fdcea7ce4e0..ce71ad980236 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -740,7 +740,7 @@ class basic_specs { }; unsigned data_ = 1 << fill_size_shift; - static_assert(sizeof(data_) * CHAR_BIT >= 18, ""); + static_assert(sizeof(basic_specs::data_) * CHAR_BIT >= 18, ""); // Character (code unit) type is erased to prevent template bloat. char fill_data_[max_fill_size] = {' '};