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
Fix process_killall. Closes #186.
[simgrid.git]
/
src
/
surf
/
StorageImpl.cpp
diff --git
a/src/surf/StorageImpl.cpp
b/src/surf/StorageImpl.cpp
index
b162a6e
..
122bfde
100644
(file)
--- a/
src/surf/StorageImpl.cpp
+++ b/
src/surf/StorageImpl.cpp
@@
-32,7
+32,7
@@
simgrid::xbt::signal<void(StorageAction*, Action::State, Action::State)> storage
std::unordered_map<std::string, StorageImpl*>* StorageImpl::storages =
new std::unordered_map<std::string, StorageImpl*>();
std::unordered_map<std::string, StorageImpl*>* StorageImpl::storages =
new std::unordered_map<std::string, StorageImpl*>();
-StorageImpl* StorageImpl::byName(
const char*
name)
+StorageImpl* StorageImpl::byName(
std::string
name)
{
if (storages->find(name) == storages->end())
return nullptr;
{
if (storages->find(name) == storages->end())
return nullptr;
@@
-89,7
+89,7
@@
std::map<std::string, sg_size_t>* StorageImpl::parseContent(std::string filename
std::map<std::string, sg_size_t>* parse_content = new std::map<std::string, sg_size_t>();
std::map<std::string, sg_size_t>* parse_content = new std::map<std::string, sg_size_t>();
- std::ifstream* fs = surf_ifsopen(filename
.c_str()
);
+ std::ifstream* fs = surf_ifsopen(filename);
std::string line;
std::vector<std::string> tokens;
std::string line;
std::vector<std::string> tokens;