Skip to content

Commit e96326b

Browse files
committed
PR comments
1 parent 12bef54 commit e96326b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OpenTelemetry/Metrics/ExponentialHistogramBuckets.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace OpenTelemetry.Metrics;
2121
public sealed class ExponentialHistogramBuckets
2222
{
2323
private long[] buckets = Array.Empty<long>();
24-
private int size = 0;
24+
private int size;
2525

2626
internal ExponentialHistogramBuckets()
2727
{
@@ -60,8 +60,8 @@ internal ExponentialHistogramBuckets Copy()
6060
public struct Enumerator
6161
{
6262
private readonly long[] buckets;
63+
private readonly int size;
6364
private int index;
64-
private int size;
6565

6666
internal Enumerator(long[] buckets, int size)
6767
{

0 commit comments

Comments
 (0)