clang-format
This commit is contained in:
2025-07-23 20:55:50 +02:00
parent d33c1f5dc5
commit ec008ef5dd
61 changed files with 308 additions and 253 deletions

View File

@@ -1,6 +1,6 @@
#include "difficulty.h"
#include <vector> // Para vector
#include <vector> // Para vector
namespace Difficulty {
@@ -10,11 +10,10 @@ void init() {
difficulties_list = {
{Code::EASY, "Easy"},
{Code::NORMAL, "Normal"},
{Code::HARD, "Hard"}
};
{Code::HARD, "Hard"}};
}
auto getDifficulties() -> std::vector<Info>& {
auto getDifficulties() -> std::vector<Info>& {
return difficulties_list;
}
@@ -36,4 +35,4 @@ auto getCodeFromName(const std::string& name) -> Code {
return !difficulties_list.empty() ? difficulties_list.front().code : Code::NORMAL;
}
} // namespace Difficulty
} // namespace Difficulty