diff --git a/third-party/thrift/src/thrift/compiler/lib/const_util.h b/third-party/thrift/src/thrift/compiler/lib/const_util.h index 8d9b1b7fa7023..1d36db07b0f2d 100644 --- a/third-party/thrift/src/thrift/compiler/lib/const_util.h +++ b/third-party/thrift/src/thrift/compiler/lib/const_util.h @@ -78,7 +78,7 @@ folly::void_t hydrate_const( typename T::key_type key; hydrate_const(key, *pair.first); typename T::mapped_type value; - hydrate_const(key, *pair.second); + hydrate_const(value, *pair.second); out.emplace(std::move(key), std::move(value)); } }