Add missing assignment operators

Summary:
related to T13767
- add missing assignment operators
- marked single argument constructors as explicit where needed
- add even more missing includes

Reviewers: ivica

Reviewed By: ivica

Subscribers: iljazovic, miljen

Differential Revision: https://repo.mireo.local/D30813
This commit is contained in:
Korina Šimičević
2024-08-08 09:55:45 +02:00
parent b55ec679bf
commit 0330df77a3
32 changed files with 195 additions and 97 deletions

View File

@@ -133,6 +133,7 @@ class stream_context<
mqtt_ctx _mqtt_context;
public:
explicit stream_context(std::monostate) {}
stream_context(const stream_context& other) :
_mqtt_context(other._mqtt_context)
{}
@@ -271,7 +272,7 @@ private:
public:
client_service(
explicit client_service(
const executor_type& ex,
tls_context_type tls_context = {}
) :