From 7f6edca32fd8ab6361f5ecf9be42d4e64b783098 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 8 Oct 2024 08:09:31 -0700 Subject: [PATCH] Fix OSS build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Newer versions of {fmt} have `fmt::join` in `fmt/ranges.h`. Fixes: ``` thrift/compiler/gen/cpp/name_resolver.cc:306:33: error: ‘join’ is not a member of ‘fmt’ 306 | return fmt::format("{}", fmt::join(components, "::")); | ^~~~ ``` https://github.com/facebook/fbthrift/actions/runs/11220918018/job/31190106419 Reviewed By: yoney Differential Revision: D64007198 fbshipit-source-id: e7f5658bf54225aebcd1e326e72aac407535e4ca --- thrift/compiler/gen/cpp/name_resolver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrift/compiler/gen/cpp/name_resolver.cc b/thrift/compiler/gen/cpp/name_resolver.cc index 27b7cfa3ac6..ea2b984e2fd 100644 --- a/thrift/compiler/gen/cpp/name_resolver.cc +++ b/thrift/compiler/gen/cpp/name_resolver.cc @@ -18,7 +18,7 @@ #include -#include +#include #include #include #include