summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/FileServerI.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2010-05-13 11:50:03 -0400
committerBernard Normier <bernard@zeroc.com>2010-05-13 11:50:03 -0400
commit700eed3207129c277c245fec9fdebfa099a0f77e (patch)
tree16dc801d327c8c9e27066f007745a09d73dbb8c0 /cpp/src/IcePatch2/FileServerI.cpp
parentbug 4725 - generate one shot constructor for structs (diff)
downloadice-700eed3207129c277c245fec9fdebfa099a0f77e.tar.bz2
ice-700eed3207129c277c245fec9fdebfa099a0f77e.tar.xz
ice-700eed3207129c277c245fec9fdebfa099a0f77e.zip
Squashed commit of the following:
commit f25399b006e5b15b46e4258546d80e1d006e1bc1 Author: U-bwin7\bernard <bernard@bwin7.(none)> Date: Thu May 13 11:41:01 2010 -0400 VS2010 port
Diffstat (limited to 'cpp/src/IcePatch2/FileServerI.cpp')
-rwxr-xr-x[-rw-r--r--]cpp/src/IcePatch2/FileServerI.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/IcePatch2/FileServerI.cpp b/cpp/src/IcePatch2/FileServerI.cpp
index 62bfa08ac68..cee2e9fe934 100644..100755
--- a/cpp/src/IcePatch2/FileServerI.cpp
+++ b/cpp/src/IcePatch2/FileServerI.cpp
@@ -84,7 +84,12 @@ IcePatch2::FileServerI::getFileCompressed_async(const AMD_FileServer_getFileComp
return;
}
+#if (defined(_MSC_VER) && (_MSC_VER >= 1600))
+ pair<const Byte*, const Byte*> ret(nullptr, nullptr);
+#else
pair<const Byte*, const Byte*> ret(0, 0);
+#endif
+
if(num <= 0 || pos < 0)
{
cb->ice_response(ret);