some MSVC Level 4 warning fixes

This commit is contained in:
Aleksandar Fabijanic
2008-03-17 14:27:29 +00:00
parent 3848bfbb53
commit 4ffed92894
5 changed files with 51 additions and 51 deletions

View File

@@ -167,7 +167,7 @@ void SocketIOChannelTest::testActiveChannelStream()
ActiveIOChannel<SocketIOChannel> activeChannel(network);
ActiveResult<int> result1 = activeChannel.write(str1);
result1.wait();
ActiveResult<std::string> result2 = activeChannel.read(0);
ActiveResult<std::string> result2 = activeChannel.read();
result2.wait();
assert("1234567890" == result2.data());
}
@@ -250,7 +250,7 @@ void SocketIOChannelTest::testActiveChannelDatagram()
ActiveIOChannel<SocketIOChannel> activeChannel(network);
ActiveResult<int> result1 = activeChannel.write(str1);
result1.wait();
ActiveResult<std::string> result2 = activeChannel.read(0);
ActiveResult<std::string> result2 = activeChannel.read();
result2.wait();
assert("1234567890" == result2.data());
}