Meilleur incrémentation

This commit is contained in:
Mylloon 2022-04-10 15:41:12 +02:00
parent 2205f3b15e
commit 47bf1a2032
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -62,7 +62,7 @@ void Evenement::affichage(Univers * univers, const bool traits) noexcept {
std::cout << " ";
}
}
std::cout << static_cast<int>(echequier++) + 1 << " "; // cast en int
std::cout << static_cast<int>(++echequier) << " "; // cast en int
}
std::cout << std::endl;
}