mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-10 12:16:49 +00:00
Use size_t instead of int in Serializer constructor
This commit is contained in:
@@ -24,7 +24,7 @@ private:
|
||||
Blob data_;
|
||||
|
||||
public:
|
||||
explicit Serializer(int n = 256)
|
||||
explicit Serializer(std::size_t n = 256)
|
||||
{
|
||||
data_.reserve(n);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user