summaryrefslogtreecommitdiff
path: root/src/context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/context.cc')
-rw-r--r--src/context.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/context.cc b/src/context.cc
index bd67a6b3..df8210f8 100644
--- a/src/context.cc
+++ b/src/context.cc
@@ -9,7 +9,6 @@
namespace Kakoune
{
-Context::Context() = default;
Context::~Context() = default;
Context::Context(InputHandler& input_handler, SelectionList selections,
@@ -20,6 +19,8 @@ Context::Context(InputHandler& input_handler, SelectionList selections,
m_name(std::move(name))
{}
+Context::Context(EmptyContextFlag) {}
+
Buffer& Context::buffer() const
{
if (not has_buffer())