forked from jaildesigner-jailgames/jaildoctors_dilemma
linter
This commit is contained in:
@@ -24,10 +24,10 @@ class Stats {
|
||||
std::string file_path_; // Fichero con las estadísticas completas
|
||||
|
||||
// Busca una entrada en la lista por nombre
|
||||
static int findByName(const std::string& name, const std::vector<StatsData>& list);
|
||||
static auto findByName(const std::string& name, const std::vector<StatsData>& list) -> int;
|
||||
|
||||
// Carga las estadisticas desde un fichero
|
||||
static bool loadFromFile(const std::string& file_path, std::vector<StatsData>& list);
|
||||
static auto loadFromFile(const std::string& file_path, std::vector<StatsData>& list) -> bool;
|
||||
|
||||
// Guarda las estadisticas en un fichero
|
||||
static void saveToFile(const std::string& file_path, const std::vector<StatsData>& list);
|
||||
@@ -39,9 +39,9 @@ class Stats {
|
||||
void updateListFromBuffer();
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
Stats(const std::string& file, const std::string& buffer);
|
||||
|
||||
// Constructostd::string nst stdstd::string nst std::string& buffer);
|
||||
Stats(std::string file, std::string buffer);
|
||||
|
||||
// Destructor
|
||||
~Stats();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user