aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/file
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-12-03 10:42:58 +0100
committerEinar Johan Trøan Sømåen2012-12-03 10:42:58 +0100
commit53512b0841fdf90146220222f43721043d91f093 (patch)
tree87eda7b2adfd613c62c9466ac5ea4fdc7a89d70e /engines/wintermute/base/file
parent7071acfa478a39b492643530f9f4927cd4e85e51 (diff)
downloadscummvm-rg350-53512b0841fdf90146220222f43721043d91f093.tar.gz
scummvm-rg350-53512b0841fdf90146220222f43721043d91f093.tar.bz2
scummvm-rg350-53512b0841fdf90146220222f43721043d91f093.zip
WINTERMUTE: Const-ify member-functions that obviously should be const.
Diffstat (limited to 'engines/wintermute/base/file')
-rw-r--r--engines/wintermute/base/file/base_file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/base/file/base_file.h b/engines/wintermute/base/file/base_file.h
index 82f6ce3554..8eda6d51d9 100644
--- a/engines/wintermute/base/file/base_file.h
+++ b/engines/wintermute/base/file/base_file.h
@@ -45,10 +45,10 @@ protected:
uint32 _pos;
uint32 _size;
public:
- virtual uint32 getSize() {
+ virtual uint32 getSize() const {
return _size;
};
- virtual uint32 getPos() {
+ virtual uint32 getPos() const {
return _pos;
};
virtual bool seek(uint32 pos, int whence = SEEK_SET) = 0;