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:
parent
9d6bd665e3
commit
e5a74f3ad3
|
@ -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;
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue