mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 13:20:35 +00:00
Fix compile error
This commit is contained in:
parent
7e684853fc
commit
f91696723f
@ -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…
x
Reference in New Issue
Block a user