Improved VS2008 projects for SFML:

- Removed warnings
- Faster compiling on multi-core CPUs

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1154 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2009-06-26 13:00:21 +00:00
parent 824aaca6dd
commit 4f6b3637d7
6 changed files with 52 additions and 32 deletions

View file

@ -42,9 +42,9 @@ namespace
/// Helper function to read a variable from a packet
////////////////////////////////////////////////////////////
template <typename T>
T PacketRead(sfPacket* Packet, T Default = 0)
T PacketRead(sfPacket* Packet)
{
CSFML_CHECK_RETURN(Packet, Default);
CSFML_CHECK_RETURN(Packet, 0);
T Value;
Packet->This >> Value;