diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-04-19 18:47:52 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-04-19 18:47:52 +0100 |
| commit | ddd70fd09adc0c93205bd1b436daace101d773fc (patch) | |
| tree | 1164df527472908561f95b159c04bdce1f0e21a7 /src/context.cc | |
| parent | f714766854047728a029655bfd7c8af6aea53833 (diff) | |
Make empty context construction more explicit
Diffstat (limited to 'src/context.cc')
| -rw-r--r-- | src/context.cc | 3 |
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()) |
