src: Removed shared_ptr use for QtCodeSnippet in QtCodeFile

This commit is contained in:
Eberhard Graether
2018-01-13 14:21:54 +01:00
parent 2ac430bbe5
commit 899f010959
4 changed files with 38 additions and 37 deletions
+2 -2
View File
@@ -76,8 +76,8 @@ private:
QtCodeFileTitleBar* m_titleBar;
QVBoxLayout* m_snippetLayout;
std::vector<std::shared_ptr<QtCodeSnippet>> m_snippets;
std::shared_ptr<QtCodeSnippet> m_fileSnippet;
std::vector<QtCodeSnippet*> m_snippets;
QtCodeSnippet* m_fileSnippet;
const FilePath m_filePath;
bool m_isWholeFile;