diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-28 15:09:15 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-28 16:24:56 +0300 |
commit | e5a74f3ad31e1ee55e086de682c7d01b8d27697e (patch) | |
tree | ea80b848482b679fba7abee1513880d3487c2c3f /extern/audaspace/src/fx | |
parent | 9d6bd665e31badbc98ac4c86a4af4f1211d34587 (diff) |
Audaspace: Fix -Wreorder warning
Makes building less noisy, helps catching real introduced warnings/errors.
@xeXyon, mind having a look here and possibly apply to upstream? :)
Diffstat (limited to 'extern/audaspace/src/fx')
-rw-r--r-- | extern/audaspace/src/fx/DynamicMusic.cpp | 2 | ||||
-rw-r--r-- | extern/audaspace/src/fx/PlaybackCategory.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extern/audaspace/src/fx/DynamicMusic.cpp b/extern/audaspace/src/fx/DynamicMusic.cpp index b77cd749576..2b0acc06fbc 100644 --- a/extern/audaspace/src/fx/DynamicMusic.cpp +++ b/extern/audaspace/src/fx/DynamicMusic.cpp @@ -25,7 +25,7 @@ AUD_NAMESPACE_BEGIN DynamicMusic::DynamicMusic(std::shared_ptr<IDevice> device) : -m_device(device), m_fadeTime(1.0f) +m_fadeTime(1.0f), m_device(device) { m_id = 0; m_transitioning = false; diff --git a/extern/audaspace/src/fx/PlaybackCategory.cpp b/extern/audaspace/src/fx/PlaybackCategory.cpp index e09a74c4017..1891be96d16 100644 --- a/extern/audaspace/src/fx/PlaybackCategory.cpp +++ b/extern/audaspace/src/fx/PlaybackCategory.cpp @@ -25,7 +25,7 @@ struct HandleData { }; PlaybackCategory::PlaybackCategory(std::shared_ptr<IDevice> device) : - m_device(device), m_volumeStorage(std::make_shared<VolumeStorage>(1.0f)), m_status(STATUS_PLAYING), m_currentID(0) + m_currentID(0), m_device(device), m_status(STATUS_PLAYING), m_volumeStorage(std::make_shared<VolumeStorage>(1.0f)) { } |