aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppuseselectionsupdater.h
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@qt.io>2017-09-15 15:25:27 +0200
committerNikolai Kosjar <nikolai.kosjar@qt.io>2017-09-19 06:59:10 +0000
commitd6da4e513668e558081008494019c377ac7a90d4 (patch)
treec5baca4a28b7a2e04c1e6e91f1ff70a87f97a454 /src/plugins/cppeditor/cppuseselectionsupdater.h
parentaf3416a9de180173adca8f18d8bbc439d18e521c (diff)
CppEditor: Use class enum for CppUseSelectionsUpdater::CallType
Change-Id: Iaf6df1ccec50b84048933506a46b93bedf77da8e Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/cppeditor/cppuseselectionsupdater.h')
-rw-r--r--src/plugins/cppeditor/cppuseselectionsupdater.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppuseselectionsupdater.h b/src/plugins/cppeditor/cppuseselectionsupdater.h
index 478a816f98..7e10eeb680 100644
--- a/src/plugins/cppeditor/cppuseselectionsupdater.h
+++ b/src/plugins/cppeditor/cppuseselectionsupdater.h
@@ -49,8 +49,8 @@ public:
void scheduleUpdate();
void abortSchedule();
- enum CallType { Synchronous, Asynchronous };
- void update(CallType callType = Asynchronous);
+ enum class CallType { Synchronous, Asynchronous };
+ void update(CallType callType = CallType::Asynchronous);
signals:
void finished(CppTools::SemanticInfo::LocalUseMap localUses);