We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4092ed commit e299d34Copy full SHA for e299d34
lldb/source/Core/Telemetry.cpp
@@ -161,9 +161,8 @@ void TelemetryManager::DispatchClientTelemetry(
161
LLDB_LOG(GetLog(LLDBLog::Object),
162
"Cannot determine client_data from client-telemetry entry");
163
164
- auto start_time = GetAsNanosec(dict, "start_time");
165
- if (start_time.has_value())
166
- client_info.start_time += start_time.value();
+ if (auto maybe_start_time = GetAsNanosec(dict, "start_time"))
+ client_info.start_time += *maybe_start_time;
167
168
auto end_time = GetAsNanosec(dict, "end_time");
169
if (end_time.has_value()) {
0 commit comments