Remove unused WindowAndSelections timestamp field
The SelectionList already has a timestamp.
This commit is contained in:
parent
2b6fc6beb7
commit
0cb192921a
|
@ -122,8 +122,7 @@ WindowAndSelections ClientManager::get_free_window(Buffer& buffer)
|
|||
void ClientManager::add_free_window(std::unique_ptr<Window>&& window, SelectionList selections)
|
||||
{
|
||||
window->clear_display_buffer();
|
||||
Buffer& buffer = window->buffer();
|
||||
m_free_windows.push_back({ std::move(window), SelectionList{ std::move(selections) }, buffer.timestamp() });
|
||||
m_free_windows.push_back({ std::move(window), SelectionList{ std::move(selections) } });
|
||||
}
|
||||
|
||||
void ClientManager::ensure_no_client_uses_buffer(Buffer& buffer)
|
||||
|
|
|
@ -11,7 +11,6 @@ struct WindowAndSelections
|
|||
{
|
||||
std::unique_ptr<Window> window;
|
||||
SelectionList selections;
|
||||
size_t timestamp;
|
||||
};
|
||||
|
||||
class ClientManager : public Singleton<ClientManager>
|
||||
|
|
Loading…
Reference in New Issue
Block a user