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 d39638d commit 99cfdb2Copy full SHA for 99cfdb2
clang/include/clang/Basic/Sanitizers.h
@@ -158,7 +158,7 @@ class SanitizerMaskCutoffs {
158
std::array<float, SanitizerKind::SO_Count> cutoffs = {0};
159
160
public:
161
- const float &operator[](int index) const { return cutoffs[index]; }
+ float operator[](int index) const { return cutoffs[index]; }
162
163
void set(SanitizerMask K, float V);
164
void clear(SanitizerMask K = SanitizerKind::All);
0 commit comments