diff --git a/lib/cpp/src/thrift/TUuid.h b/lib/cpp/src/thrift/TUuid.h index aa69c673dc..0eb50d5c2d 100644 --- a/lib/cpp/src/thrift/TUuid.h +++ b/lib/cpp/src/thrift/TUuid.h @@ -90,7 +90,7 @@ class TUuid { #endif // THRIFT_TUUID_BOOST_CONSTRUCTOR_EXPLICIT TUuid(const boost::uuids::uuid& buuid) noexcept { - std::copy(std::begin(buuid.data), std::end(buuid.data), std::begin(this->data_)); + std::copy(std::begin(buuid), std::end(buuid), std::begin(this->data_)); } #endif // THRIFT_TUUID_SUPPORT_BOOST_UUID