From 01627ed90962b9953187f81388cd677219f4b1ad Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 19 Apr 2018 19:58:31 +0200 Subject: [PATCH] Sonar: dont't duplicate declarations. --- include/xbt/config.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; -- 2.20.1