From: Arnaud Giersch Date: Wed, 25 Oct 2017 20:09:15 +0000 (+0200) Subject: Fix compilation warning. X-Git-Tag: v3.18~397^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d4c5782fb4da7b7cf83b66df05197bd597796f70?hp=e4fca2dba5c9d2b6ab3fa3e9d46016eff7e03103 Fix compilation warning. warning: ‘SgFlow’ declared with greater visibility than the type of its field ‘SgFlow::action_’ [-Wattributes] --- diff --git a/src/surf/ns3/ns3_simulator.hpp b/src/surf/ns3/ns3_simulator.hpp index f339e6468f..743f0031dd 100644 --- a/src/surf/ns3/ns3_simulator.hpp +++ b/src/surf/ns3/ns3_simulator.hpp @@ -18,7 +18,7 @@ #include #include -class SgFlow { +class XBT_PRIVATE SgFlow { public: SgFlow(uint32_t totalBytes, simgrid::surf::NetworkNS3Action* action);