Skip to content

Commit

Permalink
Merge pull request #722 from Knoerle/patch-1
Browse files Browse the repository at this point in the history
simplify server creation
  • Loading branch information
redboltz authored Nov 13, 2020
2 parents 2be3b49 + c0f1b6c commit 341f205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/no_tls_both.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ int main(int argc, char** argv) {
auto s = MQTT_NS::server<>(
boost::asio::ip::tcp::endpoint(
boost::asio::ip::tcp::v4(),
boost::lexical_cast<std::uint16_t>(argv[1])
port
),
iocs
);
Expand Down

0 comments on commit 341f205

Please sign in to comment.