Skip to content

Commit

Permalink
clang format: stupid visual studio
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoiast committed Jan 10, 2024
1 parent 06fdedb commit fa21b65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@

#pragma once

#include <functional>
#include <list>
#include <memory>
#include <vector>
#include <functional>


#include "sizepoint.h"

Expand Down
2 changes: 1 addition & 1 deletion src/stackwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ struct SingleWidgetVisible : LayoutItem {
Stackwidget::Stackwidget(Position p, Size s) : Widget(p, s, 0) {
this->layout = std::make_shared<SingleWidgetVisible>();
this->layout->on_item_added = [](LayoutItem &layout, auto index) {
auto item = layout.sub_items.back();
auto item = layout.sub_items.back();
auto w = std::dynamic_pointer_cast<Widget>(item);
if (w) {
if (index == 0) {
Expand Down

0 comments on commit fa21b65

Please sign in to comment.