server: explicit move ctor

The default seems to copy the shared_ptr member?
This commit is contained in:
Michael Davidsaver
2023-11-18 11:20:38 -08:00
parent 382dd29452
commit be7fab5192
+4
View File
@@ -59,6 +59,10 @@ public:
constexpr Server() = default;
//! Create/allocate, but do not start, a new server with the provided config.
explicit Server(const Config&);
Server(const Server&) = default;
Server(Server&& o) = default;
Server& operator=(const Server&) = default;
Server& operator=(Server&& o) = default;
~Server();
/** Create new server based on configuration from $EPICS_PVA* environment variables.