@@ -182,8 +182,7 @@ struct StatisticsOptions {
182
182
class SummaryStatistics {
183
183
public:
184
184
explicit SummaryStatistics (std::string name, std::string impl_type)
185
- : m_total_time(), m_impl_type(std::move(impl_type)),
186
- m_name(std::move(name)), m_count(0 ) {}
185
+ : m_total_time(), m_impl_type(std::move(impl_type)), m_name(std::move(name)), m_count(0 ) {}
187
186
188
187
std::string GetName () const { return m_name; };
189
188
double GetTotalTime () const { return m_total_time.get ().count (); }
@@ -226,6 +225,7 @@ class SummaryStatistics {
226
225
std::atomic<uint64_t > m_count;
227
226
};
228
227
228
+ // Declaring here as there is no private forward
229
229
typedef std::shared_ptr<SummaryStatistics> SummaryStatisticsSP;
230
230
231
231
// / A class that wraps a std::map of SummaryStatistics objects behind a mutex.
@@ -237,7 +237,7 @@ class SummaryStatisticsCache {
237
237
GetSummaryStatisticsForProvider (lldb_private::TypeSummaryImpl &provider) {
238
238
std::lock_guard<std::mutex> guard (m_map_mutex);
239
239
if (auto iterator = m_summary_stats_map.find (provider.GetName ());
240
- iterator != m_summary_stats_map.end ())
240
+ iterator != m_summary_stats_map.end ())
241
241
return iterator->second ;
242
242
243
243
auto it = m_summary_stats_map.try_emplace (
0 commit comments