remove useless code in Buffer constructor
This commit is contained in:
parent
d9c3de3fc0
commit
0e6bbbb8c4
|
@ -40,8 +40,6 @@ Buffer::Buffer(String name, Flags flags, std::vector<String> lines,
|
||||||
pos += m_lines.back().length();
|
pos += m_lines.back().length();
|
||||||
}
|
}
|
||||||
|
|
||||||
Editor editor_for_hooks(*this);
|
|
||||||
InputHandler hook_handler(editor_for_hooks);
|
|
||||||
if (flags & Flags::File)
|
if (flags & Flags::File)
|
||||||
{
|
{
|
||||||
if (flags & Flags::New)
|
if (flags & Flags::New)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user