mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
fix typeinfo compile error
This commit is contained in:
parent
5f92fdb79b
commit
f6ddfe1d02
@ -19,6 +19,7 @@
|
|||||||
#include "Poco/Data/LOB.h"
|
#include "Poco/Data/LOB.h"
|
||||||
#include "Poco/Buffer.h"
|
#include "Poco/Buffer.h"
|
||||||
#include "Poco/Exception.h"
|
#include "Poco/Exception.h"
|
||||||
|
#include <typeinfo>
|
||||||
|
|
||||||
|
|
||||||
namespace Poco {
|
namespace Poco {
|
||||||
@ -68,10 +69,9 @@ bool Extractor::extractBoundImpl<UTF16String>(std::size_t pos, UTF16String& val)
|
|||||||
typedef UTF16String::value_type CharT;
|
typedef UTF16String::value_type CharT;
|
||||||
if (isNull(pos)) return false;
|
if (isNull(pos)) return false;
|
||||||
std::size_t dataSize = _pPreparator->actualDataSize(pos);
|
std::size_t dataSize = _pPreparator->actualDataSize(pos);
|
||||||
//CharT* sp = AnyCast<CharT*>(_pPreparator->at(pos));
|
|
||||||
CharT* sp = 0;
|
CharT* sp = 0;
|
||||||
UTF16String us;
|
UTF16String us;
|
||||||
const type_info& ti = _pPreparator->at(pos).type();
|
const std::type_info& ti = _pPreparator->at(pos).type();
|
||||||
if (ti == typeid(CharT*))
|
if (ti == typeid(CharT*))
|
||||||
{
|
{
|
||||||
sp = AnyCast<CharT*>(_pPreparator->at(pos));
|
sp = AnyCast<CharT*>(_pPreparator->at(pos));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user