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
less char*, more std::string
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Activity.hpp
diff --git
a/include/simgrid/s4u/Activity.hpp
b/include/simgrid/s4u/Activity.hpp
index
fae7fb8
..
1cdd79e
100644
(file)
--- a/
include/simgrid/s4u/Activity.hpp
+++ b/
include/simgrid/s4u/Activity.hpp
@@
-33,6
+33,9
@@
protected:
virtual ~Activity();
public:
virtual ~Activity();
public:
+ Activity(Activity const&) = delete;
+ Activity& operator=(Activity const&) = delete;
+
/** Starts a previously created activity.
*
* This function is optional: you can call wait() even if you didn't call start()
/** Starts a previously created activity.
*
* This function is optional: you can call wait() even if you didn't call start()
@@
-63,7
+66,7
@@
public:
void *getUserData() { return userData_; }
private:
void *getUserData() { return userData_; }
private:
- simgrid::
simix::Synchro
*pimpl_ = nullptr;
+ simgrid::
kernel::activity::ActivityImpl
*pimpl_ = nullptr;
e_s4u_activity_state_t state_ = inited;
double remains_ = 0;
void *userData_ = nullptr;
e_s4u_activity_state_t state_ = inited;
double remains_ = 0;
void *userData_ = nullptr;