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? :)
This commit is contained in:
Sergey Sharybin 2017-11-28 13:09:15 +01:00
parent 9d6bd665e3
commit e5a74f3ad3
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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))
{
}