diff --git a/conanfile.py b/conanfile.py index bf30dbf1..4a910ce5 100644 --- a/conanfile.py +++ b/conanfile.py @@ -46,7 +46,7 @@ class UnitsConan(ConanFile): url = "https://github.com/mpusz/units" settings = "compiler", "build_type" requires = ( - "fmt/7.0.3", + "fmt/7.1.3", "gsl-lite/0.37.0" ) options = { diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 404beade..f670cd84 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -21,6 +21,7 @@ - (!) build: `-g cmake_paths` has to be manually provided for `conan install` command (workaround for a Conan bug) - build: doxygen updated to 1.8.20 - build: catch2 updated to 2.13.4 + - build: fmt updated to 7.1.3 - build: Conan generator switched to `cmake_find_package_multi` - build: Conan CMakeToolchain support added - build: CMake scripts cleanup diff --git a/src/include/units/format.h b/src/include/units/format.h index f6c37ef4..c8f432cc 100644 --- a/src/include/units/format.h +++ b/src/include/units/format.h @@ -88,7 +88,7 @@ namespace units { template struct global_format_specs { - fmt::detail::fill_t fill = fmt::detail::fill_t::make(); + fmt::detail::fill_t fill; fmt::align_t align = fmt::align_t::none; int width = 0; };