coroutine: fix memset() typo, add Licence and Copyright

[SVN r81767]
This commit is contained in:
Oliver Kowalke
2012-12-07 17:55:34 +00:00
parent bafc8297f6
commit 5bcd700e86
5 changed files with 31 additions and 63 deletions

View File

@@ -1,9 +1,3 @@
// Copyright Oliver Kowalke 2009.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#define NOMINMAX
#include <cstdlib>
@@ -38,7 +32,7 @@ private:
int fetch_()
{
std::streamsize num = (std::min)(
std::streamsize num = std::min(
static_cast< std::streamsize >( gptr() - eback() ), pb_size);
std::memmove(