mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
fixes a windows/VC++ compile issue, references #50
This commit is contained in:
@@ -57,9 +57,9 @@ uint64_t data::process_payload(std::istream& input,uint64_t size) {
|
||||
}
|
||||
|
||||
if (new_size > m_payload.capacity()) {
|
||||
m_payload.reserve(
|
||||
std::max(new_size, static_cast<uint64_t>(2*m_payload.capacity()))
|
||||
);
|
||||
m_payload.reserve(std::max<uint64_t>(
|
||||
new_size, static_cast<uint64_t>(2*m_payload.capacity())
|
||||
));
|
||||
}
|
||||
|
||||
for (i = 0; i < size; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user