fix compiling on gcc 4.6 (too early to use 4.7.1...)

This commit is contained in:
niczkx
2012-07-30 18:47:21 -06:00
parent 39db801f93
commit 4c369bc823
24 changed files with 53 additions and 52 deletions

View File

@@ -61,8 +61,8 @@ private:
SoundSourcePtr m_musicSource;
ALCdevice *m_device;
ALCcontext *m_context;
bool m_musicEnabled = false;
bool m_soundEnabled = false;
stdext::boolean<false> m_musicEnabled;
stdext::boolean<false> m_soundEnabled;
std::string m_currentMusic;
};

View File

@@ -56,7 +56,7 @@ private:
SoundFilePtr m_soundFile;
std::array<SoundBufferPtr,STREAM_FRAGMENTS> m_buffers;
DownMix m_downMix;
bool m_looping = false;
stdext::boolean<false> m_looping;
};
#endif