Boost library min/max guidance:

fix #170
This commit is contained in:
Vinnie Falco
2016-11-12 11:27:56 -05:00
parent 02feea5128
commit 84a6775dc1
13 changed files with 21 additions and 19 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ public:
streambuf sb(size);
while(n)
{
auto const amount = std::min(n, size);
auto const amount = (std::min)(n, size);
sb.commit(buffer_copy(sb.prepare(amount), cb));
cb.consume(amount);
n -= amount;