summaryrefslogtreecommitdiff
path: root/src/libs/utils/ansiescapecodehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/utils/ansiescapecodehandler.h')
-rw-r--r--src/libs/utils/ansiescapecodehandler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/utils/ansiescapecodehandler.h b/src/libs/utils/ansiescapecodehandler.h
index 0451297621..b2e848f845 100644
--- a/src/libs/utils/ansiescapecodehandler.h
+++ b/src/libs/utils/ansiescapecodehandler.h
@@ -33,8 +33,8 @@ namespace Utils {
class QTCREATOR_UTILS_EXPORT FormattedText {
public:
- FormattedText() { }
- FormattedText(const FormattedText &other) : text(other.text), format(other.format) { }
+ FormattedText() = default;
+ FormattedText(const FormattedText &other) = default;
FormattedText(const QString &txt, const QTextCharFormat &fmt = QTextCharFormat()) :
text(txt), format(fmt)
{ }