Some minor corrections in API documentation and parameters names

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1525 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2010-06-11 21:52:51 +00:00
parent 1ee9965059
commit 280ce139d6
14 changed files with 35 additions and 35 deletions

View file

@ -49,7 +49,7 @@ myDuration(0.f)
////////////////////////////////////////////////////////////
SoundBuffer::SoundBuffer(const SoundBuffer& copy) :
SoundBuffer::SoundBuffer(const SoundBuffer& copy) :
Resource<SoundBuffer>(),
myBuffer (0),
mySamples (copy.mySamples),
@ -226,9 +226,9 @@ float SoundBuffer::GetDuration() const
////////////////////////////////////////////////////////////
SoundBuffer& SoundBuffer::operator =(const SoundBuffer& other)
SoundBuffer& SoundBuffer::operator =(const SoundBuffer& right)
{
SoundBuffer temp(other);
SoundBuffer temp(right);
std::swap(mySamples, temp.mySamples);
std::swap(myBuffer, temp.myBuffer);

View file

@ -553,9 +553,9 @@ unsigned int Image::GetMaximumSize()
////////////////////////////////////////////////////////////
Image& Image::operator =(const Image& other)
Image& Image::operator =(const Image& right)
{
Image temp(other);
Image temp(right);
std::swap(myWidth, temp.myWidth);
std::swap(myHeight, temp.myHeight);