From 8354a8b80a4a5b1c852aeb22b99f15b5a594872f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 5 Apr 2022 13:12:00 +0200 Subject: [PATCH] Revert "Include univers.hpp dans le .hpp de la classe Organisme" This reverts commit 189290dcfdd7a5b47e73cc51ef62868b56d9d7a2. --- includes/organisme.hpp | 2 -- src/organisme.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/organisme.hpp b/includes/organisme.hpp index 99dae65..6f69a29 100644 --- a/includes/organisme.hpp +++ b/includes/organisme.hpp @@ -3,8 +3,6 @@ #include -#include "../includes/univers.hpp" - class Organisme { inline static int __totalID; // permet d'incrémenter de 1 l'ID de chaque organisme diff --git a/src/organisme.cpp b/src/organisme.cpp index 1caeeb2..b8f2f44 100644 --- a/src/organisme.cpp +++ b/src/organisme.cpp @@ -1,3 +1,4 @@ +#include "../includes/univers.hpp" #include "../includes/organisme.hpp" Organisme::Organisme(int universID, int index): _universID(universID), _index(index), ID(__totalID + 1) {