From 47bf1a2032667b68bae6bcd64ca4c0fd3569d674 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sun, 10 Apr 2022 15:41:12 +0200 Subject: [PATCH] =?UTF-8?q?Meilleur=20incr=C3=A9mentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/evenement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evenement.cpp b/src/evenement.cpp index 93a8938..ccead8a 100644 --- a/src/evenement.cpp +++ b/src/evenement.cpp @@ -62,7 +62,7 @@ void Evenement::affichage(Univers * univers, const bool traits) noexcept { std::cout << " "; } } - std::cout << static_cast(echequier++) + 1 << " "; // cast en int + std::cout << static_cast(++echequier) << " "; // cast en int } std::cout << std::endl; }