mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-04 07:27:23 +01:00
fixed GH #63: Net::NameValueCollection::size() returns int
This commit is contained in:
parent
b2a8c50bf1
commit
340594b2ae
@ -23,6 +23,7 @@
|
||||
#include "Poco/Net/Net.h"
|
||||
#include "Poco/String.h"
|
||||
#include "Poco/ListMap.h"
|
||||
#include <cstddef>
|
||||
|
||||
|
||||
namespace Poco {
|
||||
@ -97,7 +98,7 @@ public:
|
||||
bool empty() const;
|
||||
/// Returns true iff the header does not have any content.
|
||||
|
||||
int size() const;
|
||||
std::size_t size() const;
|
||||
/// Returns the number of name-value pairs in the
|
||||
/// collection.
|
||||
|
||||
|
@ -134,9 +134,9 @@ bool NameValueCollection::empty() const
|
||||
}
|
||||
|
||||
|
||||
int NameValueCollection::size() const
|
||||
std::size_t NameValueCollection::size() const
|
||||
{
|
||||
return (int) _map.size();
|
||||
return _map.size();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user