diff options
author | Marc Laukien <marc@zeroc.com> | 2003-04-04 20:37:11 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2003-04-04 20:37:11 +0000 |
commit | 5ecd51f857580cd98e226e6f8a75524b6bd239e4 (patch) | |
tree | fdd01122688a49cde784ae95dab3e84965b45e55 /cpp/src/Ice/BasicStream.cpp | |
parent | Added virtual inheritance from IceUtil::Shared (diff) | |
download | ice-5ecd51f857580cd98e226e6f8a75524b6bd239e4.tar.bz2 ice-5ecd51f857580cd98e226e6f8a75524b6bd239e4.tar.xz ice-5ecd51f857580cd98e226e6f8a75524b6bd239e4.zip |
gcc 2.95.3 fixes
Diffstat (limited to 'cpp/src/Ice/BasicStream.cpp')
-rw-r--r-- | cpp/src/Ice/BasicStream.cpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/cpp/src/Ice/BasicStream.cpp b/cpp/src/Ice/BasicStream.cpp index d29ac6b72a4..416af7e2edf 100644 --- a/cpp/src/Ice/BasicStream.cpp +++ b/cpp/src/Ice/BasicStream.cpp @@ -24,17 +24,6 @@ #include <Ice/LocalException.h> #include <Ice/Protocol.h> -// -// COMPILERBUG: Visual C++ .NET doesn't like my template -// specializations. -// - -#if defined(_MSC_VER) && _MSC_VER > 1200 - -# define ice_copy std::copy - -#else - template<typename InputIter, typename OutputIter> void ice_copy(InputIter first, InputIter last, OutputIter result) @@ -50,24 +39,6 @@ ice_copy(std::vector<Ice::Byte>::const_iterator first, std::vector<Ice::Byte>::c memcpy(&*result, &*first, last - first); } -template<> -void -ice_copy(std::string::const_iterator first, std::string::const_iterator last, - std::vector<Ice::Byte>::iterator result) -{ - memcpy(&*result, &*first, last - first); -} - -template<> -void -ice_copy(std::vector<Ice::Byte>::const_iterator first, std::vector<Ice::Byte>::const_iterator last, - std::string::iterator result) -{ - memcpy(&*result, &*first, last - first); -} - -#endif - using namespace std; using namespace Ice; using namespace IceInternal; |