From cb421b39d904f76c27ce0645656c480a44c3f958 Mon Sep 17 00:00:00 2001 From: Anton Grishin Date: Sun, 2 Feb 2025 22:02:58 +0300 Subject: [PATCH] Validation contest --- CMakeLists.txt | 2 +- crypto/vm/boc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0262ae1e..36fec4eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -200,7 +200,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") set(GCC 1) elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") set(CLANG 1) -elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Intel") +elseif (CMAKE_CXX_COMPILER_ID MATCHES "Intel") set(INTEL 1) elseif (NOT MSVC) message(FATAL_ERROR "Compiler isn't supported") diff --git a/crypto/vm/boc.h b/crypto/vm/boc.h index 8adf240f..c61fa66f 100644 --- a/crypto/vm/boc.h +++ b/crypto/vm/boc.h @@ -117,7 +117,7 @@ struct CellStorageStat { struct CellInfo { td::uint32 max_merkle_depth = 0; }; - std::map seen; + std::unordered_map seen; CellStorageStat() : cells(0), bits(0), public_cells(0) { } explicit CellStorageStat(unsigned long long limit_cells)