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
Make field 's4u::Host::pimpl_cpu' private.
[simgrid.git]
/
src
/
surf
/
cpu_interface.cpp
diff --git
a/src/surf/cpu_interface.cpp
b/src/surf/cpu_interface.cpp
index
8a9a5c1
..
ec58d4a
100644
(file)
--- a/
src/surf/cpu_interface.cpp
+++ b/
src/surf/cpu_interface.cpp
@@
-54,7
+54,7
@@
CpuImpl::CpuImpl(s4u::Host* host, const std::vector<double>& speed_per_pstate)
{
speed_.scale = 1;
speed_.peak = speed_per_pstate_.front();
- host->
pimpl_cpu = this
;
+ host->
set_cpu(this)
;
}
void CpuImpl::reset_vcpu(CpuImpl* that)