[ https://issues.apache.org/jira/browse/THRIFT-5817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5817. -------------------------------- Fix Version/s: 0.22.0 Resolution: Fixed > [C++] Avoid copy of TUuid > ------------------------- > > Key: THRIFT-5817 > URL: https://issues.apache.org/jira/browse/THRIFT-5817 > Project: Thrift > Issue Type: Bug > Components: C glib - Compiler, C++ - Compiler > Environment: C++ and C generator > Reporter: Carel > Assignee: Carel > Priority: Minor > Fix For: 0.22.0 > > Time Spent: 1h > Remaining Estimate: 0h > > The current implementation of the TUuid type generates code that copies the > TUuid type and does not use cont reference like other complex types, like > std::string. > For consistency and performance the copy should be avoided and a const > reference must be passed. > See [this|https://github.com/apache/thrift/pull/3035#discussion_r1744537147] > comment -- This message was sent by Atlassian Jira (v8.20.10#820010)