Small fixes
This commit is contained in:
parent
a0a65ee9fb
commit
6c7fe98805
|
@ -526,7 +526,7 @@ std::size_t getColumnWidth (const FTermBuffer& tb)
|
||||||
return std::accumulate ( std::next(tb.begin())
|
return std::accumulate ( std::next(tb.begin())
|
||||||
, tb.end()
|
, tb.end()
|
||||||
, tb.front().attr.bit.char_width
|
, 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;
|
return std::move(s) + c.attr.bit.char_width;
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
Loading…
Reference in New Issue