Added SoundSource::operator= and called it from Sound::operator=

Signed-off-by: Jan Haller <bromeon@gmail.com>
This commit is contained in:
Marco Antognini 2015-04-13 10:03:24 +02:00 committed by Lukas Dürrenberger
parent 0c9ce3bef3
commit 2d1fab374f
3 changed files with 35 additions and 8 deletions

View file

@ -240,6 +240,16 @@ public:
////////////////////////////////////////////////////////////
float getAttenuation() const;
////////////////////////////////////////////////////////////
/// \brief Overload of assignment operator
///
/// \param right Instance to assign
///
/// \return Reference to self
///
////////////////////////////////////////////////////////////
SoundSource& operator =(const SoundSource& right);
protected:
////////////////////////////////////////////////////////////