summaryrefslogtreecommitdiff
path: root/ACE/ace/Throughput_Stats.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Throughput_Stats.h')
-rw-r--r--ACE/ace/Throughput_Stats.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Throughput_Stats.h b/ACE/ace/Throughput_Stats.h
index f3d1744c562..0d3f71f53eb 100644
--- a/ACE/ace/Throughput_Stats.h
+++ b/ACE/ace/Throughput_Stats.h
@@ -44,7 +44,7 @@ class ACE_Export ACE_Throughput_Stats : public ACE_Basic_Stats
{
public:
/// Constructor
- ACE_Throughput_Stats (void);
+ ACE_Throughput_Stats () = default;
/// Store one sample
void sample (ACE_UINT64 throughput, ACE_UINT64 latency);
@@ -62,7 +62,7 @@ public:
ACE_UINT32 samples_count);
private:
/// The last throughput measurement.
- ACE_UINT64 throughput_last_;
+ ACE_UINT64 throughput_last_ {};
};
ACE_END_VERSIONED_NAMESPACE_DECL