Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
sonar: try to exclude java from coverage
[simgrid.git] / src / instr / instr_private.h
index a748d30..f611d22 100644 (file)
@@ -13,6 +13,7 @@
 #include "simgrid_config.h"
 #include "src/internal_config.h"
 #include <set>
+#include <string>
 
 /* Need to define function drand48 for Windows */
 /* FIXME: use _drand48() defined in src/surf/random_mgr.c instead */
@@ -222,12 +223,11 @@ class StartLinkEvent : public PajeEvent  {
   Container* container_;
   Type* type_;
   Container* sourceContainer_;
-  char* value_;
-  char* key_;
+  std::string value_;
+  std::string key_;
   int size_;
 
 public:
-  ~StartLinkEvent();
   StartLinkEvent(double timestamp, Container* container, Type* type, Container* sourceContainer, const char* value,
                  const char* key);
   StartLinkEvent(double timestamp, Container* container, Type* type, Container* sourceContainer, const char* value,