TIL this compiles without warnings using GCC/Clang: ```cpp struct DebugScore { s...
Xarn @horenmar@mastodon.social
TIL this compiles without warnings using GCC/Clang:
```cpp
struct DebugScore {
std::string_view name;
size_t idx = 0;
uint8_t best_confidence = 0;
size_t frames_over = 0;
size_t frames_under = 0;
};
std::vector<DebugScore> scores;
scores.emplace_back(kStringLabels[cl],
best_confidence,
frames_over_threshold,
frames_under_threshold);
```
That wasted a bunch of time to chase down.