summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-01-29 23:16:58 +0100
committerMaxime Coste <frrrwww@gmail.com>2013-01-29 23:16:58 +0100
commit00a9cdfc908651c7cc6483b1549c6b9617e2a75d (patch)
treedbe197696a994e4756718c5099abdaa982745534 /src
parent8933109cc5bac9400de2ae8c867e3613e09a6588 (diff)
Context: remove some unused code
Diffstat (limited to 'src')
-rw-r--r--src/context.hh8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/context.hh b/src/context.hh
index 8126c674..baea4442 100644
--- a/src/context.hh
+++ b/src/context.hh
@@ -22,16 +22,8 @@ struct Context
: m_editor(&editor) {}
Context(InputHandler& input_handler, UserInterface& ui)
: m_input_handler(&input_handler), m_ui(&ui) {}
- Context(InputHandler& input_handler, Editor& editor, UserInterface& ui)
- : m_input_handler(&input_handler), m_editor(&editor), m_ui(&ui) {}
-
- // to allow func(Context(Editor(...)))
- // make sure the context will not survive the next ';'
- explicit Context(Editor&& editor)
- : m_editor(&editor) {}
Context(const Context&) = delete;
- Context(Context&&) = default;
Context& operator=(const Context&) = delete;
Buffer& buffer() const