mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-17 16:38:09 +08:00
Fix clang-tidy. (#469)
This commit is contained in:
@@ -378,13 +378,13 @@ Dimensions Dimension::Full() {
|
||||
// static
|
||||
/// Create a screen with the given dimension along the x-axis and y-axis.
|
||||
Screen Screen::Create(Dimensions width, Dimensions height) {
|
||||
return Screen(width.dimx, height.dimy);
|
||||
return {width.dimx, height.dimy};
|
||||
}
|
||||
|
||||
// static
|
||||
/// Create a screen with the given dimension.
|
||||
Screen Screen::Create(Dimensions dimension) {
|
||||
return Screen(dimension.dimx, dimension.dimy);
|
||||
return {dimension.dimx, dimension.dimy};
|
||||
}
|
||||
|
||||
Screen::Screen(int dimx, int dimy)
|
||||
|
Reference in New Issue
Block a user