From 00a9cdfc908651c7cc6483b1549c6b9617e2a75d Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 29 Jan 2013 23:16:58 +0100 Subject: [PATCH] Context: remove some unused code --- src/context.hh | 8 -------- 1 file changed, 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