From: Arnaud Giersch Date: Thu, 19 Apr 2018 17:58:31 +0000 (+0200) Subject: Sonar: dont't duplicate declarations. X-Git-Tag: v3.20~364 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/01627ed90962b9953187f81388cd677219f4b1ad Sonar: dont't duplicate declarations. --- diff --git a/include/xbt/config.h b/include/xbt/config.h index 18d17ce9e8..c111c50af9 100644 --- a/include/xbt/config.h +++ b/include/xbt/config.h @@ -55,11 +55,7 @@ */ /** @brief Configuration set's data type is opaque. */ #ifdef __cplusplus -namespace simgrid { -namespace config { -class Config; -} -} +#include typedef simgrid::config::Config* xbt_cfg_t; #else typedef void* xbt_cfg_t;