Skip to content

Commit 6a1c354

Browse files
committed
Fixed build error after merging maintanence branches.
1 parent 3a6fa27 commit 6a1c354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/async_publish.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ int main(int argc, char* argv[])
149149
auto connOpts = mqtt::connect_options_builder()
150150
.connect_timeout(5s)
151151
.clean_session()
152-
.will(mqtt::message(TOPIC, LWT_PAYLOAD, strlen(LWT_PAYLOAD), QOS, false))
152+
.will(mqtt::message(TOPIC, LWT_PAYLOAD, QOS, false))
153153
.finalize();
154154

155155
cout << " ...OK" << endl;

0 commit comments

Comments
 (0)