1
0
Fork 0
forked from lthn/blockchain

MSVC 2019 compatibility fixes

This commit is contained in:
sowle 2022-08-23 21:27:38 +03:00
parent b253ee70ab
commit b62d01a629
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC
3 changed files with 8 additions and 6 deletions

View file

@ -28,6 +28,7 @@
#include <locale>
#include <cstdlib>
#include <map>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <boost/lexical_cast.hpp>

View file

@ -20,6 +20,7 @@ using namespace epee;
#include "common/variant_helper.h"
using namespace currency;
namespace ph = boost::placeholders;
#define TESTS_DEFAULT_FEE TX_DEFAULT_FEE
@ -317,11 +318,11 @@ class flow_test_console_cmmands_handler
public:
flow_test_console_cmmands_handler(flow_test_context& contxt):m_context(contxt)
{
m_cmd_binder.set_handler("help", boost::bind(&console_handlers_binder::help, &m_cmd_binder, _1), "Show this help");
m_cmd_binder.set_handler("exit", boost::bind(&flow_test_console_cmmands_handler::exit, this, _1), "Exit");
m_cmd_binder.set_handler("pause", boost::bind(&flow_test_console_cmmands_handler::pause, this, _1), "Pause");
m_cmd_binder.set_handler("continue", boost::bind(&flow_test_console_cmmands_handler::do_continue, this, _1), "Continue");
m_cmd_binder.set_handler("refresh", boost::bind(&flow_test_console_cmmands_handler::refresh, this, _1), "Refresh");
m_cmd_binder.set_handler("help", boost::bind(&console_handlers_binder::help, &m_cmd_binder, ph::_1), "Show this help");
m_cmd_binder.set_handler("exit", boost::bind(&flow_test_console_cmmands_handler::exit, this, ph::_1), "Exit");
m_cmd_binder.set_handler("pause", boost::bind(&flow_test_console_cmmands_handler::pause, this, ph::_1), "Pause");
m_cmd_binder.set_handler("continue", boost::bind(&flow_test_console_cmmands_handler::do_continue, this, ph::_1), "Continue");
m_cmd_binder.set_handler("refresh", boost::bind(&flow_test_console_cmmands_handler::refresh, this, ph::_1), "Refresh");
}
bool start_handling()

View file

@ -5,5 +5,5 @@ rem Rename to configure_local_paths.cmd and do not commit.
rem
set QT_PREFIX_PATH=C:\dev\_sdk\Qt5.15.2\5.15.2
set BOOST_ROOT=C:\dev\_sdk\boost_1_76_0
set BOOST_ROOT=C:\dev\_sdk\boost_1_77_0
set OPENSSL_ROOT_DIR=C:\dev\_sdk\OpenSSL-Win64