diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-08 18:36:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-08 18:36:47 +0300 |
commit | 714abae7efce1f4fcc37575370efab1a1cd44a49 (patch) | |
tree | c178d42a62d3660b81841257fe697b82794e4547 | |
parent | 519d998fdec7feff3ec14876ab4c077759e374e4 (diff) | |
download | manaplus-714abae7efce1f4fcc37575370efab1a1cd44a49.tar.gz manaplus-714abae7efce1f4fcc37575370efab1a1cd44a49.tar.bz2 manaplus-714abae7efce1f4fcc37575370efab1a1cd44a49.tar.xz manaplus-714abae7efce1f4fcc37575370efab1a1cd44a49.zip |
Add missing variables into constructors initialisation list.
-rw-r--r-- | src/input/inputmanager.cpp | 3 | ||||
-rw-r--r-- | src/resources/openglimagehelper.h | 3 | ||||
-rw-r--r-- | src/resources/safeopenglimagehelper.h | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index b6ed13524..4f9c1ce6b 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -78,7 +78,8 @@ InputManager::InputManager() : mNewKeyIndex(InputAction::NO_VALUE), mMask(1), mNameMap(), - mChatMap() + mChatMap(), + mKey() { } diff --git a/src/resources/openglimagehelper.h b/src/resources/openglimagehelper.h index a8e83c5d7..0c7e49c8f 100644 --- a/src/resources/openglimagehelper.h +++ b/src/resources/openglimagehelper.h @@ -59,7 +59,8 @@ class OpenGLImageHelper final : public ImageHelper public: OpenGLImageHelper() : - mFreeTextureIndex(0) + mFreeTextureIndex(0U), + mTextures() { } diff --git a/src/resources/safeopenglimagehelper.h b/src/resources/safeopenglimagehelper.h index df9e23b2b..9b65f5262 100644 --- a/src/resources/safeopenglimagehelper.h +++ b/src/resources/safeopenglimagehelper.h @@ -59,7 +59,8 @@ class SafeOpenGLImageHelper final : public ImageHelper public: SafeOpenGLImageHelper() : - mFreeTextureIndex(0) + mFreeTextureIndex(0U), + mTextures() { } |