mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
more fixes
This commit is contained in:
parent
950085520a
commit
988c16aebc
@ -68,6 +68,7 @@ void Binder::bind(std::size_t pos, const Poco::UInt64 &val, Direction dir)
|
||||
}
|
||||
|
||||
|
||||
#ifndef POCO_INT64_IS_LONG
|
||||
void Binder::bind(std::size_t pos, const long& val, Direction dir)
|
||||
{
|
||||
}
|
||||
@ -76,6 +77,7 @@ void Binder::bind(std::size_t pos, const long& val, Direction dir)
|
||||
void Binder::bind(std::size_t pos, const unsigned long& val, Direction dir)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void Binder::bind(std::size_t pos, const bool &val, Direction dir)
|
||||
|
@ -56,11 +56,13 @@ public:
|
||||
void bind(std::size_t pos, const Poco::UInt64 &val, Direction dir);
|
||||
/// Binds an UInt64.
|
||||
|
||||
#ifndef POCO_INT64_IS_LONG
|
||||
void bind(std::size_t pos, const long& val, Direction dir);
|
||||
/// Binds a long.
|
||||
|
||||
void bind(std::size_t pos, const unsigned long& val, Direction dir);
|
||||
/// Binds an unsigned long.
|
||||
#endif
|
||||
|
||||
void bind(std::size_t pos, const bool &val, Direction dir);
|
||||
/// Binds a boolean.
|
||||
|
@ -77,6 +77,7 @@ bool Extractor::extract(std::size_t pos, Poco::Int64& val)
|
||||
}
|
||||
|
||||
|
||||
#ifndef POCO_INT64_IS_LONG
|
||||
bool Extractor::extract(std::size_t pos, long& val)
|
||||
{
|
||||
val = 0;
|
||||
@ -89,6 +90,7 @@ bool Extractor::extract(std::size_t pos, unsigned long& val)
|
||||
val = 0;
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
bool Extractor::extract(std::size_t pos, Poco::UInt64& val)
|
||||
|
@ -62,11 +62,13 @@ public:
|
||||
bool extract(std::size_t pos, Poco::Dynamic::Var& val);
|
||||
/// Extracts a Var.
|
||||
|
||||
#ifndef POCO_INT64_IS_LONG
|
||||
bool extract(std::size_t pos, long& val);
|
||||
/// Extracts a long.
|
||||
|
||||
bool extract(std::size_t pos, unsigned long& val);
|
||||
/// Extracts an unsigned long.
|
||||
#endif
|
||||
|
||||
bool extract(std::size_t pos, bool& val);
|
||||
/// Extracts a boolean.
|
||||
|
@ -68,6 +68,7 @@ void Preparator::prepare(std::size_t pos, const Poco::UInt64&)
|
||||
}
|
||||
|
||||
|
||||
#ifndef POCO_INT64_IS_LONG
|
||||
void Preparator::prepare(std::size_t pos, const long&)
|
||||
{
|
||||
}
|
||||
@ -76,6 +77,7 @@ void Preparator::prepare(std::size_t pos, const long&)
|
||||
void Preparator::prepare(std::size_t pos, const unsigned long&)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void Preparator::prepare(std::size_t pos, const bool&)
|
||||
|
@ -57,11 +57,13 @@ public:
|
||||
void prepare(std::size_t pos, const Poco::UInt64&);
|
||||
/// Prepares an UInt64.
|
||||
|
||||
#ifndef POCO_INT64_IS_LONG
|
||||
void prepare(std::size_t pos, const long&);
|
||||
/// Prepares a long.
|
||||
|
||||
void prepare(std::size_t pos, const unsigned long&);
|
||||
/// Prepares an unsigned long.
|
||||
#endif
|
||||
|
||||
void prepare(std::size_t pos, const bool&);
|
||||
/// Prepares a boolean.
|
||||
|
Loading…
x
Reference in New Issue
Block a user