aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Editor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 95b83f1f7..0243d5b63 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -16,7 +16,7 @@ class Timer {
public:
bool ticking;
int ticksToWait;
- enum {tickSize = 100};
+ static constexpr int tickSize = 100;
TickerID tickerID;
Timer() noexcept;
@@ -226,7 +226,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
Timer timer;
Timer autoScrollTimer;
- enum { autoScrollDelay = 200 };
+ static constexpr int autoScrollDelay = 200;
Idler idler;