forked from jaildesigner-jailgames/jaildoctors_dilemma
linter
This commit is contained in:
@@ -9,7 +9,7 @@ class RoomTracker {
|
||||
std::vector<std::string> list_; // Lista con las habitaciones visitadas
|
||||
|
||||
// Comprueba si la habitación ya ha sido visitada
|
||||
bool hasBeenVisited(const std::string& name);
|
||||
auto hasBeenVisited(const std::string& name) -> bool;
|
||||
|
||||
public:
|
||||
// Constructor
|
||||
@@ -19,5 +19,5 @@ class RoomTracker {
|
||||
~RoomTracker() = default;
|
||||
|
||||
// Añade la habitación a la lista
|
||||
bool addRoom(const std::string& name);
|
||||
auto addRoom(const std::string& name) -> bool;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user