Skip to content

Commit

Permalink
Merge pull request #10 from redboltz/fix_set_password
Browse files Browse the repository at this point in the history
Replaced the member variable password_ with the parameter password on
  • Loading branch information
redboltz committed Dec 21, 2015
2 parents 1376f55 + cbcfbad commit c2f1849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mqtt/client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class client {
* 3.1.3.5 Password
*/
void set_password(std::string password) {
password_ = std::move(password_);
password_ = std::move(password);
}

/**
Expand Down

0 comments on commit c2f1849

Please sign in to comment.