Small fixes

This commit is contained in:
Markus Gans 2020-11-14 22:14:30 +01:00
parent a0a65ee9fb
commit 6c7fe98805
2 changed files with 2 additions and 1 deletions

View File

@ -526,7 +526,7 @@ std::size_t getColumnWidth (const FTermBuffer& tb)
return std::accumulate ( std::next(tb.begin())
, tb.end()
, tb.front().attr.bit.char_width
, [] (std::size_t s, FChar c)
, [] (std::size_t s, const FChar& c)
{
return std::move(s) + c.attr.bit.char_width;
}

View File

@ -33,6 +33,7 @@
#include <cstddef>
#include <cstring>
#include <array>
#include <functional>
#include <limits>
#include <unordered_map>