summaryrefslogtreecommitdiff
path: root/core/io/file_access_buffered.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/file_access_buffered.h')
-rw-r--r--core/io/file_access_buffered.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/io/file_access_buffered.h b/core/io/file_access_buffered.h
index a6177c20be..2832367a8b 100644
--- a/core/io/file_access_buffered.h
+++ b/core/io/file_access_buffered.h
@@ -43,7 +43,7 @@ public:
};
private:
- int cache_size;
+ int cache_size = DEFAULT_CACHE_SIZE;
int cache_data_left() const;
mutable Error last_error;
@@ -87,8 +87,8 @@ public:
virtual Error get_error() const;
- FileAccessBuffered();
- virtual ~FileAccessBuffered();
+ FileAccessBuffered() {}
+ virtual ~FileAccessBuffered() {}
};
#endif