Skip to content

Commit

Permalink
Fix clang-tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurSonzogni committed Aug 19, 2023
1 parent c415af6 commit c0f4dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ftxui/dom/canvas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ class CanvasNodeBase : public Node {
Element canvas(ConstRef<Canvas> canvas) {
class Impl : public CanvasNodeBase {
public:
explicit Impl(ConstRef<Canvas> canvas) : canvas_(canvas) {
explicit Impl(ConstRef<Canvas> canvas) : canvas_(std::move(canvas)) {
requirement_.min_x = (canvas_->width() + 1) / 2;
requirement_.min_y = (canvas_->height() + 3) / 4;
}
Expand Down

0 comments on commit c0f4dfb

Please sign in to comment.