summaryrefslogtreecommitdiff
path: root/src/plugins/texteditor/indenter.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/indenter.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/indenter.cpp')
-rw-r--r--src/plugins/texteditor/indenter.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/texteditor/indenter.cpp b/src/plugins/texteditor/indenter.cpp
index 4e47a15abd..70da9a0e8a 100644
--- a/src/plugins/texteditor/indenter.cpp
+++ b/src/plugins/texteditor/indenter.cpp
@@ -32,11 +32,9 @@
using namespace TextEditor;
-Indenter::Indenter()
-{}
+Indenter::Indenter() = default;
-Indenter::~Indenter()
-{}
+Indenter::~Indenter() = default;
bool Indenter::isElectricCharacter(const QChar &) const
{