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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
s4u
/
s4u_file.cpp
diff --git
a/src/s4u/s4u_file.cpp
b/src/s4u/s4u_file.cpp
index
ad9f634
..
db1c5b2
100644
(file)
--- a/
src/s4u/s4u_file.cpp
+++ b/
src/s4u/s4u_file.cpp
@@
-91,18
+91,12
@@
sg_size_t File::tell()
void File::move(const char* fullpath)
{
void File::move(const char* fullpath)
{
- sg_host_t host = Host::current();
- simgrid::simix::kernelImmediate([this, host, fullpath] { pimpl_->move(host, fullpath); });
+ simgrid::simix::kernelImmediate([this, fullpath] { pimpl_->move(fullpath); });
}
int File::unlink()
{
}
int File::unlink()
{
- return unlink(Host::current());
-}
-
-int File::unlink(sg_host_t host)
-{
- return simgrid::simix::kernelImmediate([this, host] { return pimpl_->unlink(host); });
+ return simgrid::simix::kernelImmediate([this] { return pimpl_->unlink(); });
}
}} // namespace simgrid::s4u
}
}} // namespace simgrid::s4u