We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e80a04c commit 4fa9208Copy full SHA for 4fa9208
1 file changed
include/osmium/area/detail/proto_ring.hpp
@@ -86,16 +86,16 @@ namespace osmium {
86
int64_t m_num;
87
#endif
88
89
- int64_t m_sum;
+ int64_t m_sum = 0;
90
91
public:
92
93
explicit ProtoRing(NodeRefSegment* segment) noexcept :
94
- m_min_segment(segment),
+ m_min_segment(segment)
95
#ifdef OSMIUM_DEBUG_RING_NO
96
- m_num(next_num()),
+ , m_num(next_num())
97
98
- m_sum(0) {
+ {
99
add_segment_back(segment);
100
}
101
0 commit comments