diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-02-02 20:48:03 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-02-02 20:48:03 +0000 |
| commit | 96101b4392aa3a4593b6678498f07659bc04f7ca (patch) | |
| tree | 434c8405872f47047a545b1c8f04cf18b5e1188a /src/buffer.cc | |
| parent | 69d96c90da543fee83cd6f9fbac6d3348d28d446 (diff) | |
Use an Editor instead of a Window as much as possible
Diffstat (limited to 'src/buffer.cc')
| -rw-r--r-- | src/buffer.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/buffer.cc b/src/buffer.cc index f7f7ff55..d5cb762c 100644 --- a/src/buffer.cc +++ b/src/buffer.cc @@ -243,11 +243,6 @@ void Buffer::delete_window(Window* window) m_windows.erase(window_it); } -std::unique_ptr<Window> Buffer::create_temporary_window() -{ - return std::unique_ptr<Window>(new Window(*this)); -} - bool Buffer::is_modified() const { size_t history_cursor_index = m_history_cursor - m_history.begin(); |
