aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/soci_helper.h
diff options
context:
space:
mode:
authorAntonio Juarez <antonio.maria.juarez@live.com>2014-03-20 11:46:11 +0000
committerAntonio Juarez <antonio.maria.juarez@live.com>2014-03-20 11:46:11 +0000
commit8efa1313f3614f34ac0bac947314bb53e9a2412b (patch)
tree2752f8e6dfbb75bc53d56ea422482a8ec5870ffa /contrib/epee/include/soci_helper.h
parentmoved all stuff to github (diff)
downloadmonero-8efa1313f3614f34ac0bac947314bb53e9a2412b.tar.xz
some fixes
Diffstat (limited to 'contrib/epee/include/soci_helper.h')
-rw-r--r--contrib/epee/include/soci_helper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/epee/include/soci_helper.h b/contrib/epee/include/soci_helper.h
index a154f97fc..813edc1fc 100644
--- a/contrib/epee/include/soci_helper.h
+++ b/contrib/epee/include/soci_helper.h
@@ -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;