diff options
-rw-r--r-- | src/parser/clang/entities.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/clang/entities.rs b/src/parser/clang/entities.rs index e6fe59d..c0c5490 100644 --- a/src/parser/clang/entities.rs +++ b/src/parser/clang/entities.rs | |||
@@ -812,7 +812,7 @@ impl<'a> TryFrom<clang::Entity<'a>> for Struct { | |||
812 | 812 | ||
813 | let kind = match clang_kind { | 813 | let kind = match clang_kind { |
814 | clang::EntityKind::StructDecl => StructKind::Struct, | 814 | clang::EntityKind::StructDecl => StructKind::Struct, |
815 | clang::EntityKind::ClassDecl => StructKind::Class, | 815 | clang::EntityKind::ClassDecl | clang::EntityKind::ClassTemplate => StructKind::Class, |
816 | // We panic here because we've asserted the type in the beginning | 816 | // We panic here because we've asserted the type in the beginning |
817 | other => panic!("Trying to parse {:?} as a variable", other), | 817 | other => panic!("Trying to parse {:?} as a variable", other), |
818 | }; | 818 | }; |