From 4beebe3bc1567cd75c7db478469ad28ab322e1b2 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Wed, 18 Jan 2012 07:13:07 -0600 Subject: [PATCH] fixes a windows/VC++ compile issue, references #50 --- src/messages/data.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/messages/data.cpp b/src/messages/data.cpp index 48bfad157f..85904fd66d 100644 --- a/src/messages/data.cpp +++ b/src/messages/data.cpp @@ -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(2*m_payload.capacity())) - ); + m_payload.reserve(std::max( + new_size, static_cast(2*m_payload.capacity()) + )); } for (i = 0; i < size; ++i) {