From d738a34275fa1bc3da48d4aa56d06777ee4d1650 Mon Sep 17 00:00:00 2001 From: sowle Date: Wed, 26 Oct 2022 17:58:58 +0200 Subject: [PATCH] warning fix --- tests/core_tests/chaingen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h index 5210b16f..372da203 100644 --- a/tests/core_tests/chaingen.h +++ b/tests/core_tests/chaingen.h @@ -1009,7 +1009,7 @@ void append_vector_by_another_vector(U& dst, const V& src) #define MAKE_GENESIS_BLOCK(VEC_EVENTS, BLK_NAME, MINER_ACC, TS) \ PRINT_EVENT_N_TEXT(VEC_EVENTS, "MAKE_GENESIS_BLOCK(" << #BLK_NAME << ")"); \ test_generator generator; \ - on_test_generator_created(generator); \ + this->on_test_generator_created(generator); \ currency::block BLK_NAME = AUTO_VAL_INIT(BLK_NAME); \ generator.construct_genesis_block(BLK_NAME, MINER_ACC, TS); \ VEC_EVENTS.push_back(BLK_NAME)