more fixes

This commit is contained in:
Günter Obiltschnig 2020-01-09 19:34:31 +01:00
parent 950085520a
commit 988c16aebc
6 changed files with 12 additions and 0 deletions

View File

@ -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)

View File

@ -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.

View File

@ -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)

View File

@ -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.

View File

@ -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&)

View File

@ -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.