Fixed linker errors in sfml-network and csfml-network

Made every read-only pointer "const" in CSFML

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1290 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2009-11-26 20:09:57 +00:00
parent 29ecc552c2
commit d979ca254e
62 changed files with 438 additions and 429 deletions

View file

@ -89,7 +89,7 @@ public :
/// \return The index-th socket
///
////////////////////////////////////////////////////////////
Type GetSocketReady(unsigned int index);
Type GetSocketReady(unsigned int index) const;
private :

View file

@ -85,7 +85,7 @@ unsigned int Selector<Type>::Wait(float timeout)
/// is the integer returned by the previous call to Wait()
////////////////////////////////////////////////////////////
template <typename Type>
Type Selector<Type>::GetSocketReady(unsigned int index)
Type Selector<Type>::GetSocketReady(unsigned int index) const
{
SocketHelper::SocketType socket = SelectorBase::GetSocketReady(index);

View file

@ -94,7 +94,7 @@ public :
/// \return The index-th socket
///
////////////////////////////////////////////////////////////
SocketHelper::SocketType GetSocketReady(unsigned int index);
SocketHelper::SocketType GetSocketReady(unsigned int index) const;
private :