mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 21:45:32 +00:00
Fix compile error
This commit is contained in:
parent
7e684853fc
commit
f91696723f
1 changed files with 6 additions and 3 deletions
|
@ -5,13 +5,16 @@
|
|||
|
||||
#include "lowlevelfile.hpp"
|
||||
|
||||
namespace
|
||||
{
|
||||
// somewhat arbitrary though 64KB buffers didn't seem to improve performance any
|
||||
const size_t sBufferSize = 4096;
|
||||
}
|
||||
|
||||
namespace Files
|
||||
{
|
||||
|
||||
class ConstrainedFileStreamBuf : public std::streambuf
|
||||
{
|
||||
// somewhat arbitrary though 64KB buffers didn't seem to improve performance any
|
||||
static const size_t sBufferSize = 4096;
|
||||
|
||||
size_t mOrigin;
|
||||
size_t mSize;
|
||||
|
|
Loading…
Reference in a new issue