forked from lthn/blockchain
gcc compilation fixes
This commit is contained in:
parent
744522f3ca
commit
27e310bb84
2 changed files with 3 additions and 3 deletions
|
|
@ -106,9 +106,9 @@ namespace epee
|
|||
return res;
|
||||
if constexpr (is_std_optional<t_pod_type>::value)
|
||||
{
|
||||
t_pod_type::value_type v = AUTO_VAL_INIT(v);
|
||||
typename t_pod_type::value_type v = AUTO_VAL_INIT(v);
|
||||
if (!epee::string_tools::hex_to_pod(a, v))
|
||||
throw std::runtime_error(std::string("Unable to transform \"") + a + "\" to pod type " + typeid(t_pod_type::value_type).name());
|
||||
throw std::runtime_error(std::string("Unable to transform \"") + a + "\" to pod type " + typeid(typename t_pod_type::value_type).name());
|
||||
return v;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
#include "offers_tests_common.h"
|
||||
#include "tx_builder.h"
|
||||
#include "chaingen_helpers.h"
|
||||
#include "..\..\src\currency_core\tx_semantic_validation.h"
|
||||
#include "../../src/currency_core/tx_semantic_validation.h"
|
||||
|
||||
using namespace epee;
|
||||
using namespace crypto;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue