mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 23:42:24 +00:00
Fix typo: SERIALIZE_TYPE_DUOBLE
This commit is contained in:
parent
70ceab6c10
commit
002bf9c4fd
3 changed files with 5 additions and 5 deletions
|
@ -57,7 +57,7 @@
|
||||||
#define SERIALIZE_TYPE_UINT32 6
|
#define SERIALIZE_TYPE_UINT32 6
|
||||||
#define SERIALIZE_TYPE_UINT16 7
|
#define SERIALIZE_TYPE_UINT16 7
|
||||||
#define SERIALIZE_TYPE_UINT8 8
|
#define SERIALIZE_TYPE_UINT8 8
|
||||||
#define SERIALIZE_TYPE_DUOBLE 9
|
#define SERIALIZE_TYPE_DOUBLE 9
|
||||||
#define SERIALIZE_TYPE_STRING 10
|
#define SERIALIZE_TYPE_STRING 10
|
||||||
#define SERIALIZE_TYPE_BOOL 11
|
#define SERIALIZE_TYPE_BOOL 11
|
||||||
#define SERIALIZE_TYPE_OBJECT 12
|
#define SERIALIZE_TYPE_OBJECT 12
|
||||||
|
|
|
@ -220,7 +220,7 @@ namespace epee
|
||||||
case SERIALIZE_TYPE_UINT32: return read_ae<uint32_t>();
|
case SERIALIZE_TYPE_UINT32: return read_ae<uint32_t>();
|
||||||
case SERIALIZE_TYPE_UINT16: return read_ae<uint16_t>();
|
case SERIALIZE_TYPE_UINT16: return read_ae<uint16_t>();
|
||||||
case SERIALIZE_TYPE_UINT8: return read_ae<uint8_t>();
|
case SERIALIZE_TYPE_UINT8: return read_ae<uint8_t>();
|
||||||
case SERIALIZE_TYPE_DUOBLE: return read_ae<double>();
|
case SERIALIZE_TYPE_DOUBLE: return read_ae<double>();
|
||||||
case SERIALIZE_TYPE_BOOL: return read_ae<bool>();
|
case SERIALIZE_TYPE_BOOL: return read_ae<bool>();
|
||||||
case SERIALIZE_TYPE_STRING: return read_ae<std::string>();
|
case SERIALIZE_TYPE_STRING: return read_ae<std::string>();
|
||||||
case SERIALIZE_TYPE_OBJECT: return read_ae<section>();
|
case SERIALIZE_TYPE_OBJECT: return read_ae<section>();
|
||||||
|
@ -311,7 +311,7 @@ namespace epee
|
||||||
case SERIALIZE_TYPE_UINT32: return read_se<uint32_t>();
|
case SERIALIZE_TYPE_UINT32: return read_se<uint32_t>();
|
||||||
case SERIALIZE_TYPE_UINT16: return read_se<uint16_t>();
|
case SERIALIZE_TYPE_UINT16: return read_se<uint16_t>();
|
||||||
case SERIALIZE_TYPE_UINT8: return read_se<uint8_t>();
|
case SERIALIZE_TYPE_UINT8: return read_se<uint8_t>();
|
||||||
case SERIALIZE_TYPE_DUOBLE: return read_se<double>();
|
case SERIALIZE_TYPE_DOUBLE: return read_se<double>();
|
||||||
case SERIALIZE_TYPE_BOOL: return read_se<bool>();
|
case SERIALIZE_TYPE_BOOL: return read_se<bool>();
|
||||||
case SERIALIZE_TYPE_STRING: return read_se<std::string>();
|
case SERIALIZE_TYPE_STRING: return read_se<std::string>();
|
||||||
case SERIALIZE_TYPE_OBJECT: return read_se<section>();
|
case SERIALIZE_TYPE_OBJECT: return read_se<section>();
|
||||||
|
|
|
@ -113,7 +113,7 @@ namespace epee
|
||||||
bool operator()(const array_entry_t<int32_t>& v) { return pack_pod_array_type(SERIALIZE_TYPE_INT32, v);}
|
bool operator()(const array_entry_t<int32_t>& v) { return pack_pod_array_type(SERIALIZE_TYPE_INT32, v);}
|
||||||
bool operator()(const array_entry_t<int16_t>& v) { return pack_pod_array_type(SERIALIZE_TYPE_INT16, v);}
|
bool operator()(const array_entry_t<int16_t>& v) { return pack_pod_array_type(SERIALIZE_TYPE_INT16, v);}
|
||||||
bool operator()(const array_entry_t<int8_t>& v) { return pack_pod_array_type(SERIALIZE_TYPE_INT8, v);}
|
bool operator()(const array_entry_t<int8_t>& v) { return pack_pod_array_type(SERIALIZE_TYPE_INT8, v);}
|
||||||
bool operator()(const array_entry_t<double>& v) { return pack_pod_array_type(SERIALIZE_TYPE_DUOBLE, v);}
|
bool operator()(const array_entry_t<double>& v) { return pack_pod_array_type(SERIALIZE_TYPE_DOUBLE, v);}
|
||||||
bool operator()(const array_entry_t<bool>& v) { return pack_pod_array_type(SERIALIZE_TYPE_BOOL, v);}
|
bool operator()(const array_entry_t<bool>& v) { return pack_pod_array_type(SERIALIZE_TYPE_BOOL, v);}
|
||||||
bool operator()(const array_entry_t<std::string>& arr_str)
|
bool operator()(const array_entry_t<std::string>& arr_str)
|
||||||
{
|
{
|
||||||
|
@ -166,7 +166,7 @@ namespace epee
|
||||||
bool operator()(const int32_t& v) { return pack_pod_type(SERIALIZE_TYPE_INT32, v);}
|
bool operator()(const int32_t& v) { return pack_pod_type(SERIALIZE_TYPE_INT32, v);}
|
||||||
bool operator()(const int16_t& v) { return pack_pod_type(SERIALIZE_TYPE_INT16, v);}
|
bool operator()(const int16_t& v) { return pack_pod_type(SERIALIZE_TYPE_INT16, v);}
|
||||||
bool operator()(const int8_t& v) { return pack_pod_type(SERIALIZE_TYPE_INT8, v);}
|
bool operator()(const int8_t& v) { return pack_pod_type(SERIALIZE_TYPE_INT8, v);}
|
||||||
bool operator()(const double& v) { return pack_pod_type(SERIALIZE_TYPE_DUOBLE, v);}
|
bool operator()(const double& v) { return pack_pod_type(SERIALIZE_TYPE_DOUBLE, v);}
|
||||||
bool operator()(const bool& v) { return pack_pod_type(SERIALIZE_TYPE_BOOL, v);}
|
bool operator()(const bool& v) { return pack_pod_type(SERIALIZE_TYPE_BOOL, v);}
|
||||||
bool operator()(const std::string& v)
|
bool operator()(const std::string& v)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue