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
Use const& for the parameters of type std::string not affected by previous commit.
[simgrid.git]
/
src
/
surf
/
StorageImpl.hpp
diff --git
a/src/surf/StorageImpl.hpp
b/src/surf/StorageImpl.hpp
index
3f4461e
..
145b7f8
100644
(file)
--- a/
src/surf/StorageImpl.hpp
+++ b/
src/surf/StorageImpl.hpp
@@
-67,7
+67,7
@@
public:
class StorageImpl : public kernel::resource::Resource, public PropertyHolder {
public:
/** @brief Storage constructor */
class StorageImpl : public kernel::resource::Resource, public PropertyHolder {
public:
/** @brief Storage constructor */
- StorageImpl(kernel::resource::Model* model,
std::string
name, kernel::lmm::System* maxmin_system, double bread,
+ StorageImpl(kernel::resource::Model* model,
const std::string&
name, kernel::lmm::System* maxmin_system, double bread,
double bwrite, std::string type_id, std::string content_name, sg_size_t size, std::string attach);
~StorageImpl() override;
double bwrite, std::string type_id, std::string content_name, sg_size_t size, std::string attach);
~StorageImpl() override;