Merge branch 'main' of github.com:Rconybea/reflect

This commit is contained in:
Roland Conybeare 2024-06-25 18:59:15 -04:00
commit ec2591f907
3 changed files with 7 additions and 1 deletions

View file

@ -352,7 +352,10 @@ namespace xo {
/* call this once to attach extended type information to a type-description
* (e.g. description of struct members for a record type)
*/
void assign_tdextra(std::unique_ptr<TypeDescrExtra> tdx);
void assign_tdextra(std::unique_ptr<TypeDescrExtra> tdx) {
this->complete_flag_ = true;
this->tdextra_ = std::move(tdx);
}
private:
TypeDescrBase(TypeId id,