From dcd8f6ef0105578e10dc18975871bc59154e008c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 8 Jan 2017 22:30:15 +0000 Subject: Apply clang-tidy modernize to the codebase --- src/display_buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display_buffer.cc') diff --git a/src/display_buffer.cc b/src/display_buffer.cc index cd7468d9..e6c74c8b 100644 --- a/src/display_buffer.cc +++ b/src/display_buffer.cc @@ -164,7 +164,7 @@ void DisplayLine::push_back(DisplayAtom atom) DisplayLine::iterator DisplayLine::erase(iterator beg, iterator end) { - iterator res = m_atoms.erase(beg, end); + auto res = m_atoms.erase(beg, end); compute_range(); return res; } -- cgit v1.2.3