From d4c5782fb4da7b7cf83b66df05197bd597796f70 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 25 Oct 2017 22:09:15 +0200 Subject: [PATCH] Fix compilation warning. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit warning: ‘SgFlow’ declared with greater visibility than the type of its field ‘SgFlow::action_’ [-Wattributes] --- src/surf/ns3/ns3_simulator.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.20.1