Skip to content

Commit 6c7fe98

Browse files
committed
Small fixes
1 parent a0a65ee commit 6c7fe98

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/fterm_functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ std::size_t getColumnWidth (const FTermBuffer& tb)
526526
return std::accumulate ( std::next(tb.begin())
527527
, tb.end()
528528
, tb.front().attr.bit.char_width
529-
, [] (std::size_t s, FChar c)
529+
, [] (std::size_t s, const FChar& c)
530530
{
531531
return std::move(s) + c.attr.bit.char_width;
532532
}

src/include/final/ftypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include <cstddef>
3434
#include <cstring>
3535

36+
#include <array>
3637
#include <functional>
3738
#include <limits>
3839
#include <unordered_map>

0 commit comments

Comments
 (0)