Add missing static kind function
This commit is contained in:
parent
1bbc962b8c
commit
203cccd687
2 changed files with 8 additions and 1 deletions
|
|
@ -14,6 +14,8 @@ namespace cppast
|
||||||
class cpp_variable_template final : public cpp_template
|
class cpp_variable_template final : public cpp_template
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
static cpp_entity_kind kind() noexcept;
|
||||||
|
|
||||||
/// Builder for [cppast::cpp_variable_template]().
|
/// Builder for [cppast::cpp_variable_template]().
|
||||||
class builder : public basic_builder<cpp_variable_template, cpp_variable>
|
class builder : public basic_builder<cpp_variable_template, cpp_variable>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,12 @@
|
||||||
|
|
||||||
using namespace cppast;
|
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;
|
return cpp_entity_kind::variable_template_t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cpp_entity_kind cpp_variable_template::do_get_entity_kind() const noexcept
|
||||||
|
{
|
||||||
|
return kind();
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue