Fixed Termux build

This commit is contained in:
SChernykh 2021-08-13 12:02:03 +02:00
parent f92ad4423d
commit 5958490c23
3 changed files with 48 additions and 30 deletions

View file

@ -62,8 +62,12 @@ public:
static cn_hash_fun fn(const Algorithm &algorithm, AlgoVariant av, Assembly::Id assembly);
struct cn_hash_fun_array {
cn_hash_fun data[AV_MAX][Assembly::MAX];
};
private:
std::map<Algorithm, cn_hash_fun[AV_MAX][Assembly::MAX]> m_map;
std::map<Algorithm, cn_hash_fun_array*> m_map;
};