From ef41f9b28074a5715d7886e09d373f209928cab4 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 18 Jun 2024 17:17:09 -0400 Subject: [PATCH] xo-reflect: + comment --- include/xo/reflect/TypeDescr.hpp | 2 ++ src/reflect/TypeDescr.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/include/xo/reflect/TypeDescr.hpp b/include/xo/reflect/TypeDescr.hpp index 4452f094..c85b2379 100644 --- a/include/xo/reflect/TypeDescr.hpp +++ b/include/xo/reflect/TypeDescr.hpp @@ -197,6 +197,8 @@ namespace xo { /** lookup type by canonical name **/ static TypeDescr lookup_by_name(const std::string & canonical_name); + + /** print table of reflected types to os **/ static void print_reflected_types(std::ostream & os); TypeId id() const { return id_; } diff --git a/src/reflect/TypeDescr.cpp b/src/reflect/TypeDescr.cpp index c9812240..2ffb59a2 100644 --- a/src/reflect/TypeDescr.cpp +++ b/src/reflect/TypeDescr.cpp @@ -4,6 +4,7 @@ #include "TaggedPtr.hpp" #include "TypeDescrExtra.hpp" #include "atomic/AtomicTdx.hpp" +#include "function/FunctionTdx.hpp" #include "xo/indentlog/scope.hpp" namespace xo {