Skip to content

Commit 434fb9f

Browse files
authored
Merge pull request #1530 from sideeffects/send_upstream_ruleofzero
Remove the explicit default assignment operator.
2 parents 266b9ef + df2d3d8 commit 434fb9f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

nanovdb/nanovdb/util/GridStats.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ class Extrema<ValueT, 0>
7474
, mMax(b)
7575
{
7676
}
77-
Extrema& operator=(const Extrema&) = default;
7877
Extrema& min(const ValueT& v)
7978
{
8079
if (v < mMin) {
@@ -132,7 +131,6 @@ class Extrema<VecT, 1>
132131
, vector(v)
133132
{
134133
}
135-
Pair& operator=(const Pair&) = default;
136134
bool operator<(const Pair& rhs) const { return scalar < rhs.scalar; }
137135
} mMin, mMax;
138136
Extrema& add(const Pair& p)
@@ -163,7 +161,6 @@ class Extrema<VecT, 1>
163161
, mMax(b)
164162
{
165163
}
166-
Extrema& operator=(const Extrema&) = default;
167164
Extrema& min(const VecT& v)
168165
{
169166
Pair tmp(v);

0 commit comments

Comments
 (0)