Slight formatting tweak

This commit is contained in:
Maxime Coste 2017-08-01 14:48:45 +07:00
parent bb9dd14a09
commit 53e1d2f0de

View File

@ -419,8 +419,8 @@ Buffer::HistoryNode* Buffer::find_history_node(HistoryNode* node, const Func& fu
bool Buffer::move_to(size_t history_id) noexcept
{
HistoryNode* target_node = find_history_node(&m_history, [history_id](HistoryNode* node) { return node->id == history_id; });
auto* target_node = find_history_node(&m_history, [history_id](auto* node)
{ return node->id == history_id; });
if (not target_node)
return false;