Browse Source

Adapter class: make explicitly non-copyable

pull/15/head
heck 3 years ago
parent
commit
32b3e88a79
  1. 10
      src/Adapter.hh

10
src/Adapter.hh

@ -65,7 +65,11 @@ namespace pEp {
class Session {
public:
Session();
Session(const Session &) = delete;
Session(const Session &&) = delete;
Session operator=(const Session &) = delete;
Session operator=(const Session &&) = delete;
~Session() = default;
// Initialize()
// Initializes the session and registers the CallbackDispatcher as callbacks
//
@ -110,10 +114,6 @@ namespace pEp {
// re-creates the session using same values
void refresh();
// Not copyable
Session(const Session &) = delete;
Session operator=(const Session &) = delete;
void release();
PEP_SESSION operator()();

Loading…
Cancel
Save