Skip to content

Commit e79bfe7

Browse files
committed
clang-tidy: fix errors
1 parent c28059c commit e79bfe7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/scenes/loading_screen/loading_screen.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace scenes {
1111

1212
struct LoadingScreen {
1313
private:
14-
std::vector<std::tuple<Mino, double>> m_segments{};
14+
std::vector<std::tuple<Mino, double>> m_segments;
1515
Texture m_logo;
1616
shapes::URect m_logo_rect;
1717

src/scenes/logo/logo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
constexpr const auto offset_i7 = offset_r6 + Mino::GridPoint{ 4, 0 };
1919
constexpr const auto offset_s8 = offset_i7 + Mino::GridPoint{ 2, 0 };
2020

21-
std::vector<Mino> minos{
21+
const std::vector<Mino> minos{
2222
// O
2323
Mino{ Mino::GridPoint{ 0, 0 }, helper::TetrominoType::J },
2424
Mino{ Mino::GridPoint{ 1, 0 }, helper::TetrominoType::J },

0 commit comments

Comments
 (0)