diff --git a/include/xo/reflect/TypeDescr.hpp b/include/xo/reflect/TypeDescr.hpp index 4452f09..c85b237 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 c981224..2ffb59a 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 {