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
Remove attribute content_type of <storage_type>: was never used
[simgrid.git]
/
src
/
surf
/
storage_interface.cpp
diff --git
a/src/surf/storage_interface.cpp
b/src/surf/storage_interface.cpp
index
19b8361
..
1aef9a9
100644
(file)
--- a/
src/surf/storage_interface.cpp
+++ b/
src/surf/storage_interface.cpp
@@
-6,7
+6,6
@@
#include "storage_interface.hpp"
#include "surf_private.h"
#include "storage_interface.hpp"
#include "surf_private.h"
-#include "xbt/file.h" /* xbt_getline */
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/split.hpp>
@@
-51,10
+50,8
@@
StorageModel::~StorageModel(){
************/
Storage::Storage(Model* model, const char* name, lmm_system_t maxminSystem, double bread, double bwrite,
************/
Storage::Storage(Model* model, const char* name, lmm_system_t maxminSystem, double bread, double bwrite,
- double bconnection, const char* type_id, const char* content_name, const char* content_type,
- sg_size_t size, const char* attach)
+ double bconnection, const char* type_id, const char* content_name, sg_size_t size, const char* attach)
: Resource(model, name, lmm_constraint_new(maxminSystem, this, bconnection))
: Resource(model, name, lmm_constraint_new(maxminSystem, this, bconnection))
- , contentType_(xbt_strdup(content_type))
, size_(size)
, usedSize_(0)
, typeId_(xbt_strdup(type_id))
, size_(size)
, usedSize_(0)
, typeId_(xbt_strdup(type_id))
@@
-76,7
+73,6
@@
Storage::~Storage(){
delete content_;
}
free(typeId_);
delete content_;
}
free(typeId_);
- free(contentType_);
free(attach_);
}
free(attach_);
}