Skip to content

Commit 13f7258

Browse files
committed
add default value for enableMetrics
1 parent 12ff848 commit 13f7258

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/aws/crt/mqtt/MqttClient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ namespace Aws
9595
const Io::SocketOptions &socketOptions,
9696
const Crt::Io::TlsContext &tlsContext,
9797
bool useWebsocket = false,
98-
bool enableMetrics) noexcept;
98+
bool enableMetrics = true) noexcept;
9999

100100
/**
101101
* Create a new connection object over plain text from the client. The client must outlive
@@ -113,7 +113,7 @@ namespace Aws
113113
uint32_t port,
114114
const Io::SocketOptions &socketOptions,
115115
bool useWebsocket = false,
116-
bool enableMetrics) noexcept;) noexcept;
116+
bool enableMetrics = true) noexcept;
117117

118118
private:
119119
aws_mqtt_client *m_client;

0 commit comments

Comments
 (0)