mirror of
https://github.com/monero-project/monero.git
synced 2025-08-11 18:00:19 -04:00
some fixes
This commit is contained in:
parent
296ae46ed8
commit
8efa1313f3
67 changed files with 1523 additions and 757 deletions
|
@ -34,22 +34,22 @@ namespace soci
|
|||
{
|
||||
|
||||
template <>
|
||||
struct type_conversion<boost::uint64_t>
|
||||
struct type_conversion<uint64_t>
|
||||
{
|
||||
typedef long long base_type;
|
||||
|
||||
static void from_base(base_type a_, indicator ind, boost::uint64_t & mi)
|
||||
static void from_base(base_type a_, indicator ind, uint64_t & mi)
|
||||
{
|
||||
if (ind == i_null)
|
||||
{
|
||||
mi = 0;
|
||||
//throw soci_error("Null value not allowed for this type");
|
||||
}
|
||||
mi = (boost::uint64_t)a_;
|
||||
mi = (uint64_t)a_;
|
||||
//mi.set(i);
|
||||
}
|
||||
|
||||
static void to_base(const boost::uint64_t & mi, base_type & i, indicator & ind)
|
||||
static void to_base(const uint64_t & mi, base_type & i, indicator & ind)
|
||||
{
|
||||
i = (base_type)mi;
|
||||
ind = i_ok;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue