Skip to content

Commit cc1fe4d

Browse files
committed
clang-tidy: fix all errors
1 parent c7d9937 commit cc1fe4d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/cpp-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
tidy-checks: ""
4949
step-summary: true
5050
file-annotations: true
51-
ignore: subprojects|build|android|assets|recordings|docs|toolchains|platforms|src/libs/core/hash-library|wrapper/javascript/
51+
ignore: subprojects|build|android|assets|recordings|docs|toolchains|platforms|wrapper|src/libs/core/hash-library
5252

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

src/scenes/online_lobby/online_lobby.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace scenes {
3131
//TODO(Totto): after the settings have been reworked, make this url changeable!
3232
auto maybe_client = lobby::Client::get_client("http://127.0.0.1:5000");
3333
if (maybe_client.has_value()) {
34-
client = std::make_unique<lobby::Client>(std::move(maybe_client.value()));
34+
m_client = std::make_unique<lobby::Client>(std::move(maybe_client.value()));
3535
} else {
3636
spdlog::error("Error in connecting to lobby client: {}", maybe_client.error());
3737
}

src/scenes/online_lobby/online_lobby.hpp

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

1818
ui::TileLayout m_main_layout;
1919
std::optional<Command> m_next_command;
20-
std::unique_ptr<lobby::Client> client{ nullptr };
20+
std::unique_ptr<lobby::Client> m_client{ nullptr };
2121

2222
public:
2323
explicit OnlineLobby(ServiceProvider* service_provider, const ui::Layout& layout);

0 commit comments

Comments
 (0)