From 6990995868451f1b0d6be4162199127e87a7575f Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 6 Mar 2018 10:02:57 +0100 Subject: [PATCH] Fix mismatched tag class vs struct See friend declaration below. That's the reason why we decided to use 'class' almost everywhere. Change-Id: Icd8ba99528eac28721b403cac0a992ee4d367265 Reviewed-by: Christian Stenger --- src/plugins/cpptools/cppoverviewmodel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/cpptools/cppoverviewmodel.h b/src/plugins/cpptools/cppoverviewmodel.h index cae53470227..6582ca083f0 100644 --- a/src/plugins/cpptools/cppoverviewmodel.h +++ b/src/plugins/cpptools/cppoverviewmodel.h @@ -32,8 +32,9 @@ namespace CppTools { -struct SymbolItem : public Utils::TreeItem +class SymbolItem : public Utils::TreeItem { +public: SymbolItem() = default; SymbolItem(CPlusPlus::Symbol *symbol) : symbol(symbol) {}