xo-reflect: minor: move assign_tdextra() impl to .hpp
This commit is contained in:
parent
57a75e380f
commit
0454fdcbff
2 changed files with 6 additions and 1 deletions
|
|
@ -351,7 +351,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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue