/** * Autogenerated by Thrift for thrift/compiler/test/fixtures/complex-struct/src/module.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @nocommit */ #include "thrift/compiler/test/fixtures/complex-struct/gen-cpp2/module_constants.h" #include namespace cpp2 { ::cpp2::MyUnion const& module_constants::constEnumUnion() { static folly::Indestructible<::cpp2::MyUnion> const instance{ ::apache::thrift::detail::make_structured_constant<::cpp2::MyUnion>(::apache::thrift::detail::wrap_struct_argument<::apache::thrift::ident::myEnum>( ::cpp2::MyEnum::MyValue2)) }; return *instance; } } // namespace cpp2