mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-27 00:35:23 +01:00
Poco::UInt32 => std::size_t
This commit is contained in:
parent
142c248754
commit
0f98824311
@ -58,10 +58,10 @@ public:
|
||||
void init(MYSQL_STMT* stmt);
|
||||
/// Initializes the metadata.
|
||||
|
||||
Poco::UInt32 columnsReturned() const;
|
||||
std::size_t columnsReturned() const;
|
||||
/// Returns the number of columns in resultset.
|
||||
|
||||
const MetaColumn& metaColumn(Poco::UInt32 pos) const;
|
||||
const MetaColumn& metaColumn(std::size_t pos) const;
|
||||
/// Returns the reference to the specified metacolumn.
|
||||
|
||||
MYSQL_BIND* row();
|
||||
|
@ -212,12 +212,12 @@ void ResultMetadata::init(MYSQL_STMT* stmt)
|
||||
}}
|
||||
}
|
||||
|
||||
Poco::UInt32 ResultMetadata::columnsReturned() const
|
||||
std::size_t ResultMetadata::columnsReturned() const
|
||||
{
|
||||
return static_cast<Poco::UInt32>(_columns.size());
|
||||
return static_cast<std::size_t>(_columns.size());
|
||||
}
|
||||
|
||||
const MetaColumn& ResultMetadata::metaColumn(Poco::UInt32 pos) const
|
||||
const MetaColumn& ResultMetadata::metaColumn(std::size_t pos) const
|
||||
{
|
||||
return _columns[pos];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user