diff --git a/include/cppast/cpp_variable_template.hpp b/include/cppast/cpp_variable_template.hpp index af00c7e..a74bf34 100644 --- a/include/cppast/cpp_variable_template.hpp +++ b/include/cppast/cpp_variable_template.hpp @@ -14,6 +14,8 @@ namespace cppast class cpp_variable_template final : public cpp_template { public: + static cpp_entity_kind kind() noexcept; + /// Builder for [cppast::cpp_variable_template](). class builder : public basic_builder { diff --git a/src/cpp_variable_template.cpp b/src/cpp_variable_template.cpp index 7268cdc..95f9ca9 100644 --- a/src/cpp_variable_template.cpp +++ b/src/cpp_variable_template.cpp @@ -8,7 +8,12 @@ using namespace cppast; -cpp_entity_kind cpp_variable_template::do_get_entity_kind() const noexcept +cpp_entity_kind cpp_variable_template::kind() noexcept { return cpp_entity_kind::variable_template_t; } + +cpp_entity_kind cpp_variable_template::do_get_entity_kind() const noexcept +{ + return kind(); +}