diff --git a/thrift/lib/cpp2/reflection/populator.h b/thrift/lib/cpp2/reflection/populator.h index eee7929a879..b6c57beb494 100644 --- a/thrift/lib/cpp2/reflection/populator.h +++ b/thrift/lib/cpp2/reflection/populator.h @@ -515,9 +515,12 @@ struct populator_methods, T> { } }; -// cpp.type is handled transparently by each implementation +// non-integral cpp.type is handled transparently by each implementation template -struct populator_methods, T> +struct populator_methods< + type::cpp_type, + T, + std::enable_if_t>> : populator_methods {}; /**