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
Snake case.
[simgrid.git]
/
src
/
surf
/
StorageImpl.cpp
diff --git
a/src/surf/StorageImpl.cpp
b/src/surf/StorageImpl.cpp
index
3185177
..
8821467
100644
(file)
--- a/
src/surf/StorageImpl.cpp
+++ b/
src/surf/StorageImpl.cpp
@@
-47,13
+47,13
@@
StorageImpl::StorageImpl(kernel::resource::Model* model, const std::string& name
{
StorageImpl::turn_on();
XBT_DEBUG("Create resource with Bread '%f' Bwrite '%f' and Size '%llu'", bread, bwrite, size);
- constraint
R
ead_ = maxminSystem->constraint_new(this, bread);
- constraint
W
rite_ = maxminSystem->constraint_new(this, bwrite);
+ constraint
_r
ead_ = maxminSystem->constraint_new(this, bread);
+ constraint
_w
rite_ = maxminSystem->constraint_new(this, bwrite);
}
StorageImpl::~StorageImpl()
{
- xbt_assert(currently
D
estroying_, "Don't delete Storages directly. Call destroy() instead.");
+ xbt_assert(currently
_d
estroying_, "Don't delete Storages directly. Call destroy() instead.");
}
/** @brief Fire the required callbacks and destroy the object
@@
-62,8
+62,8
@@
StorageImpl::~StorageImpl()
*/
void StorageImpl::destroy()
{
- if (not currently
D
estroying_) {
- currently
D
estroying_ = true;
+ if (not currently
_d
estroying_) {
+ currently
_d
estroying_ = true;
s4u::Storage::on_destruction(this->piface_);
delete this;
}