1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Remove redundant inline

constexpr implies inline anyway

closes https://github.com/official-stockfish/Stockfish/pull/5406

No functional change
This commit is contained in:
FauziAkram 2024-06-24 17:12:07 +03:00 committed by Joost VandeVondele
parent 5fbfd06171
commit b2a12917e2

View file

@ -281,7 +281,7 @@ template<size_t N>
struct DebugInfo {
std::atomic<int64_t> data[N] = {0};
constexpr inline std::atomic<int64_t>& operator[](int index) { return data[index]; }
constexpr std::atomic<int64_t>& operator[](int index) { return data[index]; }
};
DebugInfo<2> hit[MaxDebugSlots];