This fixes a build failure seen while building Watchman 2022.10.10 for Homebrew at Homebrew/homebrew-core#112788 (against fmt 9.1.0). Without this, the build fails with
/opt/homebrew/include/fmt/format.h:3973:30: error: no matching member function for call to 'format'
out = value_formatter_.format(map(*it), ctx);
~~~~~~~~~~~~~~~~~^~~~~~
Full build logs available [2]. Errors for the arm64 Monterey runner start at [3].
This is needed for fmt 9+. [1]
This fixes a build failure seen while building Watchman 2022.10.10 for Homebrew at Homebrew/homebrew-core#112788 (against fmt 9.1.0). Without this, the build fails with
Full build logs available [2]. Errors for the arm64 Monterey runner start at [3].
[1] https://fmt.dev/9.0.0/api.html#formatting-user-defined-types [2] https://github.com/Homebrew/homebrew-core/actions/runs/3220853975 [3] https://github.com/Homebrew/homebrew-core/actions/runs/3220853975/jobs/5276286644#step:6:704