Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix compilation warning.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 25 Oct 2017 20:09:15 +0000 (22:09 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 25 Oct 2017 20:09:15 +0000 (22:09 +0200)
warning: ‘SgFlow’ declared with greater visibility than the type of its field ‘SgFlow::action_’ [-Wattributes]

src/surf/ns3/ns3_simulator.hpp

index f339e64..743f003 100644 (file)
@@ -18,7 +18,7 @@
 #include <ns3/point-to-point-helper.h>
 #include <ns3/tcp-socket-factory.h>
 
-class SgFlow {
+class XBT_PRIVATE SgFlow {
 public:
   SgFlow(uint32_t totalBytes, simgrid::surf::NetworkNS3Action* action);