File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ namespace Aws
165
165
{
166
166
if (other.m_value )
167
167
{
168
- *m_value = std::forward (*other.m_value );
168
+ *m_value = std::forward<U> (*other.m_value );
169
169
}
170
170
else
171
171
{
Original file line number Diff line number Diff line change @@ -123,9 +123,9 @@ int main(int argc, char *argv[])
123
123
}
124
124
125
125
auto clientConfig = Aws::Iot::MqttClientConnectionConfigBuilder (certificatePath.c_str (), keyPath.c_str ())
126
- .WithEndpoint (endpoint)
127
- .WithCertificateAuthority (caFile.c_str ())
128
- .Build ();
126
+ .WithEndpoint (endpoint)
127
+ .WithCertificateAuthority (caFile.c_str ())
128
+ .Build ();
129
129
130
130
if (!clientConfig)
131
131
{
@@ -197,7 +197,7 @@ int main(int argc, char *argv[])
197
197
/*
198
198
* Invoked when a disconnect message has completed.
199
199
*/
200
- auto onDisconnect = [&](Mqtt::MqttConnection &conn ) {
200
+ auto onDisconnect = [&](Mqtt::MqttConnection &) {
201
201
{
202
202
fprintf (stdout, " Disconnect completed\n " );
203
203
std::lock_guard<std::mutex> lockGuard (mutex);
You can’t perform that action at this time.
0 commit comments