summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/snippets/snippet.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-11-25 18:52:41 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2018-11-30 17:35:18 +0000
commit2e2059e8b52fb53b0ce34a12ce7a7da08423aac9 (patch)
treecb8fcd030de0d4feda2805f87433e4f0d8d8f42d /src/plugins/texteditor/snippets/snippet.cpp
parenta9fa1fe5b1f16281ba7eaec457093dd811407e1c (diff)
downloadqt-creator-2e2059e8b52fb53b0ce34a12ce7a7da08423aac9.tar.gz
TextEditor: Modernize
modernize-* Change-Id: Ic497fea1942a77cf017be3b0033f92e3807066f1 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/texteditor/snippets/snippet.cpp')
-rw-r--r--src/plugins/texteditor/snippets/snippet.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/texteditor/snippets/snippet.cpp b/src/plugins/texteditor/snippets/snippet.cpp
index c80fbcb2af..356ca7e1a8 100644
--- a/src/plugins/texteditor/snippets/snippet.cpp
+++ b/src/plugins/texteditor/snippets/snippet.cpp
@@ -82,8 +82,7 @@ const QChar Snippet::kEscapeChar(QLatin1Char('\\'));
Snippet::Snippet(const QString &groupId, const QString &id) : m_groupId(groupId), m_id(id)
{}
-Snippet::~Snippet()
-{}
+Snippet::~Snippet() = default;
const QString &Snippet::id() const
{