Skip to content

Commit 73fc302

Browse files
authored
Merge pull request #555 from gferenc95/develop
remove const from connect_options_builder 'move' constructor
2 parents 6061375 + f7df43b commit 73fc302

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/mqtt/connect_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ class connect_options_builder
672672
/**
673673
* Move constructor from an existing set of options.
674674
*/
675-
explicit connect_options_builder(const connect_options&& opts) : opts_(std::move(opts)) {}
675+
explicit connect_options_builder(connect_options&& opts) : opts_(std::move(opts)) {}
676676
/**
677677
* Creates the default options builder for an MQTT v3.x connection.
678678
* @return An options builder for an MQTT v3.x connection.

0 commit comments

Comments
 (0)