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

@ -77,12 +77,12 @@ protected :
////////////////////////////////////////////////////////////
/// \brief Assignment operator
///
/// \param other Instance to copy
/// \param right Instance to assign
///
/// \return Reference to self
///
////////////////////////////////////////////////////////////
Resource<T>& operator =(const Resource<T>& other);
Resource<T>& operator =(const Resource<T>& right);
private :
@ -162,12 +162,12 @@ public :
////////////////////////////////////////////////////////////
/// \brief Assignment operator for a ResourcePtr parameter
///
/// \param other ResourcePtr to assign
/// \param right Instance to assign
///
/// \return Reference to self
///
////////////////////////////////////////////////////////////
ResourcePtr<T>& operator =(const ResourcePtr<T>& other);
ResourcePtr<T>& operator =(const ResourcePtr<T>& right);
////////////////////////////////////////////////////////////
/// \brief Assignment operator for a raw pointer parameter

View file

@ -63,12 +63,12 @@ ResourcePtr<T>::~ResourcePtr()
////////////////////////////////////////////////////////////
template <typename T>
ResourcePtr<T>& ResourcePtr<T>::operator =(const ResourcePtr<T>& other)
ResourcePtr<T>& ResourcePtr<T>::operator =(const ResourcePtr<T>& right)
{
if (myResource)
myResource->Disconnect(*this);
myResource = other.myResource;
myResource = right.myResource;
if (myResource)
myResource->Connect(*this);

View file

@ -189,7 +189,7 @@ public :
////////////////////////////////////////////////////////////
/// \brief Copy constructor
///
/// \param other Instance to copy
/// \param copy Instance to copy
///
////////////////////////////////////////////////////////////
String(const String& copy);

View file

@ -48,7 +48,7 @@ class SFML_API Thread : NonCopyable
{
public :
typedef void (*FuncType)(void*); // Type of functions that can be used as thread entry points
typedef void (*FuncType)(void*); ///< Type of functions that can be used as thread entry points
////////////////////////////////////////////////////////////
/// \brief Construct the thread from a function pointer