Skip to content

Commit e8a654c

Browse files
committed
Nit Fix
1 parent b618423 commit e8a654c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

documents/MQTT5_Userguide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ The MQTT5 client emits a set of events related to state and network status chang
181181
});
182182
183183
// Build Mqtt5Client
184-
std::shared_ptr<Aws::Crt::Mqtt::Mqtt5Client> client = builder->Build();
184+
std::shared_ptr<Aws::Crt::Mqtt5::Mqtt5Client> client = builder->Build();
185185
186186
if (mqtt5Client == nullptr)
187187
{
@@ -263,7 +263,7 @@ Emitted once the client has shutdown any associated network connection and enter
263263
fprintf(stdout, "\n");
264264
});
265265

266-
std::shared_ptr<Aws::Crt::Mqtt::Mqtt5Client> client = builder->Build();
266+
std::shared_ptr<Aws::Crt::Mqtt5::Mqtt5Client> client = builder->Build();
267267
```
268268
269269
@@ -280,7 +280,7 @@ Invoking `start()` on the client will put it into an active state where it recur
280280
std::shared_ptr<Aws::Iot::Mqtt5ClientBuilder> builder = Aws::Iot::Mqtt5ClientBuilder::CreateMqtt5ClientBuilderWithMtlsFromPath(...);
281281
282282
// Build Mqtt5Client
283-
std::shared_ptr<Aws::Crt::Mqtt::Mqtt5Client> client = builder->Build();
283+
std::shared_ptr<Aws::Crt::Mqtt5::Mqtt5Client> client = builder->Build();
284284
285285
if (mqtt5Client == nullptr)
286286
{

0 commit comments

Comments
 (0)