summaryrefslogtreecommitdiff
path: root/src/plugins/pythoneditor/pythonformattoken.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/pythoneditor/pythonformattoken.h')
-rw-r--r--src/plugins/pythoneditor/pythonformattoken.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/pythoneditor/pythonformattoken.h b/src/plugins/pythoneditor/pythonformattoken.h
index 285fb548ac..c98f3a1fef 100644
--- a/src/plugins/pythoneditor/pythonformattoken.h
+++ b/src/plugins/pythoneditor/pythonformattoken.h
@@ -48,7 +48,7 @@ enum Format {
class FormatToken
{
public:
- FormatToken() {}
+ FormatToken() = default;
FormatToken(Format format, int position, int length)
: m_format(format), m_position(position), m_length(length)