diff --git a/include/oi/IntrospectionResult.h b/include/oi/IntrospectionResult.h index 13c87b9..8674649 100644 --- a/include/oi/IntrospectionResult.h +++ b/include/oi/IntrospectionResult.h @@ -44,12 +44,15 @@ class IntrospectionResult { const_iterator operator++(int); private: + using stack_t = + std::stack>; + const_iterator(std::vector::const_iterator data, exporters::inst::Inst type); const_iterator(std::vector::const_iterator data); std::vector::const_iterator data_; - std::stack stack_; + stack_t stack_; std::optional next_; std::vector type_path_;