Skip to content

Commit

Permalink
use array in stat.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Feb 18, 2024
1 parent 35a16f4 commit 9503e29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/libtorrent/aux_/stat.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ see LICENSE file.

#include "libtorrent/config.hpp"
#include "libtorrent/assert.hpp"
#include "libtorrent/aux_/array.hpp"

namespace libtorrent::aux {

Expand Down Expand Up @@ -256,7 +257,7 @@ namespace libtorrent::aux {

private:

stat_channel m_stat[num_channels];
aux::array<stat_channel, num_channels> m_stat;
};

}
Expand Down

0 comments on commit 9503e29

Please sign in to comment.