mutable instead of const_cast for nicer code

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5636 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-05-08 10:27:32 +00:00
parent 709ed79b5b
commit 09df47d0f2
2 changed files with 8 additions and 10 deletions

View file

@ -74,8 +74,8 @@ class MMapFile : public IMMap
int m_hFileDesc;
int m_iMappedSize;
#endif
void *m_pView;
int m_iSize;
mutable void *m_pView;
mutable int m_iSize;
BOOL m_bReadOnly;
BOOL m_bTempHandle;