A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change macro names to avoid nameclashes on FINISHED
[simgrid.git]
/
src
/
smpi
/
include
/
smpi_info.hpp
diff --git
a/src/smpi/include/smpi_info.hpp
b/src/smpi/include/smpi_info.hpp
index
c8f049b
..
dd71868
100644
(file)
--- a/
src/smpi/include/smpi_info.hpp
+++ b/
src/smpi/include/smpi_info.hpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2009-201
0, 2012-2017
. The SimGrid Team.
+/* Copyright (c) 2009-201
8
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-7,21
+7,23
@@
#ifndef SMPI_INFO_HPP
#define SMPI_INFO_HPP
#ifndef SMPI_INFO_HPP
#define SMPI_INFO_HPP
-#include "smpi_f2c.hpp"
#include "smpi/smpi.h"
#include "smpi/smpi.h"
-#include "xbt/dict.h"
+#include "smpi_f2c.hpp"
+#include <string>
+#include <map>
namespace simgrid{
namespace smpi{
class Info : public F2C{
private:
namespace simgrid{
namespace smpi{
class Info : public F2C{
private:
- xbt_dict_t dict_;
- int refcount_;
+ std::map<std::string, std::string> map_;
+ int refcount_ = 1;
+
public:
public:
-
explicit Info()
;
+
Info() = default
;
explicit Info(Info* orig);
explicit Info(Info* orig);
- ~Info();
+ ~Info()
= default
;
void ref();
static void unref(MPI_Info info);
void set(char *key, char *value);
void ref();
static void unref(MPI_Info info);
void set(char *key, char *value);