diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2023-01-08 18:35:49 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2023-01-08 21:47:14 +0100 |
commit | e788bba4bfcb6cb7d21f607bb5bf93213fb1a334 (patch) | |
tree | a0df82c664d9bf46a622cf7d12d2ad2362598e08 /include/erebos/sync.h | |
parent | 5b1887367680c494e27794252fee8d1aacf088ef (diff) |
Enable move constructor and move assignment for Watched template
Was not implicitly defined because of explicit destructor.
Diffstat (limited to 'include/erebos/sync.h')
-rw-r--r-- | include/erebos/sync.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/erebos/sync.h b/include/erebos/sync.h index dad4e0e..1ab927d 100644 --- a/include/erebos/sync.h +++ b/include/erebos/sync.h @@ -28,7 +28,7 @@ private: void localStateWatcher(const vector<Ref> &); const class Server * server; - std::optional<Watched<vector<Ref>>> watchedLocal; + Watched<vector<Ref>> watchedLocal; }; } |