This commit is contained in:
2025-12-01 23:41:00 +01:00
parent 1c1e22b1df
commit 9bc260a750
14 changed files with 254 additions and 38 deletions

View File

@@ -33,11 +33,14 @@ bool Cuac::comparar(Cuac &c) {
}
else if (fecha.es_igual(c.fecha)) {
if (mensaje == c.mensaje) {
return !(usuario < c.usuario);
return (usuario > c.usuario);
}
return !(mensaje < c.mensaje);
return (mensaje > c.mensaje);
}
return false;
}
Fecha& Cuac::get_fecha() {
return fecha;
}