From 9503e2964d047ad2b6cfbb70e25e81a409762b99 Mon Sep 17 00:00:00 2001 From: arvidn Date: Sun, 18 Feb 2024 16:56:27 +0100 Subject: [PATCH] use array in stat.hpp --- include/libtorrent/aux_/stat.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/aux_/stat.hpp b/include/libtorrent/aux_/stat.hpp index 071d6ee398b..39be9c9b9ff 100644 --- a/include/libtorrent/aux_/stat.hpp +++ b/include/libtorrent/aux_/stat.hpp @@ -18,6 +18,7 @@ see LICENSE file. #include "libtorrent/config.hpp" #include "libtorrent/assert.hpp" +#include "libtorrent/aux_/array.hpp" namespace libtorrent::aux { @@ -256,7 +257,7 @@ namespace libtorrent::aux { private: - stat_channel m_stat[num_channels]; + aux::array m_stat; }; }