From f7df43b98d2dfa3f37d68367a24551bdae60f3cc Mon Sep 17 00:00:00 2001 From: Ferenc Date: Fri, 23 May 2025 15:51:12 +0200 Subject: [PATCH] remove const from connect_options_builder 'move' constructor Signed-off-by: Ferenc --- include/mqtt/connect_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mqtt/connect_options.h b/include/mqtt/connect_options.h index c0d6036b..1b645b40 100644 --- a/include/mqtt/connect_options.h +++ b/include/mqtt/connect_options.h @@ -672,7 +672,7 @@ class connect_options_builder /** * Move constructor from an existing set of options. */ - explicit connect_options_builder(const connect_options&& opts) : opts_(std::move(opts)) {} + explicit connect_options_builder(connect_options&& opts) : opts_(std::move(opts)) {} /** * Creates the default options builder for an MQTT v3.x connection. * @return An options builder for an MQTT v3.x connection.