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:
parent
29ecc552c2
commit
d979ca254e
62 changed files with 438 additions and 429 deletions
|
@ -89,7 +89,7 @@ public :
|
|||
/// \return The index-th socket
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
Type GetSocketReady(unsigned int index);
|
||||
Type GetSocketReady(unsigned int index) const;
|
||||
|
||||
private :
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ public :
|
|||
/// \return The index-th socket
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
SocketHelper::SocketType GetSocketReady(unsigned int index);
|
||||
SocketHelper::SocketType GetSocketReady(unsigned int index) const;
|
||||
|
||||
private :
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue