Add the missing include with std::min declaration

#2 Open
Repository
z80maniac
Branch
patch-fix-headers
Repository
zxtune
Branch
develop

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

git checkout develop
git remote add z80maniac/zxtune https://bitbucket.org/z80maniac/zxtune.git
git fetch z80maniac/zxtune
git merge --no-ff -m 'Merged in z80maniac/zxtune/patch-fix-headers (pull request #2)' remotes/z80maniac/zxtune/patch-fix-headers
Author
  1. Alexey Parfenov
Reviewers
Description

Fixes the following (at least on MinGW GCC 4.9):

In file included from F:/build/zxtune/src/apps/libzxtune/src/zxtune.cpp:16:0:
../../include/cycle_buffer.h: In member function 'std::size_t CycleBuffer<T>::Put(const T*, std::size_t)':
../../include/cycle_buffer.h:47:31: error: 'min' is not a member of 'std'
     const std::size_t toPut = std::min(count, FreeAvailable);

Comments (0)