Skip to content

Commit 1799b2e

Browse files
committed
ci: fix lint and clang-tidy errors
1 parent 0e5338c commit 1799b2e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
tidy-checks: ''
5353
step-summary: true
5454
file-annotations: true
55-
ignore: subprojects|build|android|assets|recordings|docs|toolchains|platforms|wrapper|src/libs/core/hash-library|tests|src/lobby/curl_client.*
55+
ignore: subprojects|build|android|assets|recordings|docs|toolchains|platforms|wrapper|src/libs/core/hash-library|tests|src/helper/web_utils.*|src/lobby/web_client.*|src/lobby/curl_client.*
5656

5757
- name: Fail CI run if linter checks failed
5858
if: steps.linter.outputs.checks-failed != 0

src/executables/game/application.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,13 @@ struct Application final : public EventListener, public ServiceProvider {
137137

138138
public:
139139
Application(std::shared_ptr<Window>&& window, CommandLineArguments&& arguments);
140+
140141
Application(const Application&) = delete;
141142
Application& operator=(const Application&) = delete;
142143

144+
Application(Application&& other) noexcept = delete;
145+
Application& operator=(Application&& other) noexcept = delete;
146+
143147
void run();
144148

145149
void handle_event(const SDL_Event& event) override;

src/graphics/text.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include "rect.hpp"
99
#include "texture.hpp"
1010

11-
//TODO: set this flag in the build system, or maybe also fix https://github.com/OpenBrickProtocolFoundation/oopetris/issues/132 in the process
11+
//TODO(Totto): set this flag in the build system, or maybe also fix https://github.com/OpenBrickProtocolFoundation/oopetris/issues/132 in the process
1212
#if defined(__EMSCRIPTEN__)
1313
#define OOPETRIS_DONT_USE_PRERENDERED_TEXT
1414
#endif

0 commit comments

Comments
 (0)