Skip to content

Commit

Permalink
Fix "default member initializer" problem
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Sep 12, 2023
1 parent 3b15502 commit 1ffba54
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct ScopeMetrics
: scope_{std::move(scope)}, metric_data_{std::move(metric)}
{}

inline ScopeMetrics() = default;
inline ScopeMetrics() {}
inline ScopeMetrics(const ScopeMetrics &) = default;
inline ScopeMetrics(ScopeMetrics &&) = default;

Expand All @@ -59,7 +59,7 @@ struct ResourceMetrics
: resource_{std::move(resource)}, scope_metric_data_{std::move(scope_metric_data)}
{}

inline ResourceMetrics() = default;
inline ResourceMetrics() {}
inline ResourceMetrics(const ResourceMetrics &) = default;
inline ResourceMetrics(ResourceMetrics &&) = default;

Expand Down

0 comments on commit 1ffba54

Please sign in to comment.