summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppselectionchanger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cpptools/cppselectionchanger.h')
-rw-r--r--src/plugins/cpptools/cppselectionchanger.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppselectionchanger.h b/src/plugins/cpptools/cppselectionchanger.h
index 1a29989df2..d205e2ce2e 100644
--- a/src/plugins/cpptools/cppselectionchanger.h
+++ b/src/plugins/cpptools/cppselectionchanger.h
@@ -42,7 +42,7 @@ public:
ASTNodePositions(CPlusPlus::AST *_ast) : ast(_ast) {}
operator bool() const { return ast; }
- CPlusPlus::AST *ast = 0;
+ CPlusPlus::AST *ast = nullptr;
unsigned firstTokenIndex = 0;
unsigned lastTokenIndex = 0;
unsigned secondToLastTokenIndex = 0;
@@ -54,7 +54,7 @@ class CPPTOOLS_EXPORT CppSelectionChanger : public QObject
{
Q_OBJECT
public:
- explicit CppSelectionChanger(QObject *parent = 0);
+ explicit CppSelectionChanger(QObject *parent = nullptr);
enum Direction {
ExpandSelection,