summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-04-01 11:33:51 +1100
committerMaxime Coste <mawww@kakoune.org>2024-04-01 11:33:51 +1100
commit6626d1cfa62faae7752f65efd5bdf47659164218 (patch)
treec7e2c244c87c3e05955538131290fc71aa55dc70 /src/input_handler.hh
parent917db454d9502d087b43cd1ab455616735e86f69 (diff)
Fix std::optional used instead of Optional
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index 2d0aa355..ba73d2b1 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -7,6 +7,7 @@
#include "env_vars.hh"
#include "face.hh"
#include "normal.hh"
+#include "optional.hh"
#include "keys.hh"
#include "string.hh"
#include "utils.hh"
@@ -56,7 +57,7 @@ enum class InsertMode : unsigned
struct ModeInfo
{
DisplayLine display_line;
- std::optional<NormalParams> normal_params;
+ Optional<NormalParams> normal_params;
};
class InputHandler : public SafeCountable