diff options
author | Benoit Foucher <benoit@zeroc.com> | 2015-05-06 14:05:41 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2015-05-06 14:05:41 +0200 |
commit | d8617dcd8dc79e135be0cc9cc534a43d5b328c0e (patch) | |
tree | 1ac14bcb49ec34734c90d0c9c719169331b3c68a /cpp/src/Ice/Buffer.cpp | |
parent | ICE-6483 upgrade to gradle 2.4 (diff) | |
download | ice-d8617dcd8dc79e135be0cc9cc534a43d5b328c0e.tar.bz2 ice-d8617dcd8dc79e135be0cc9cc534a43d5b328c0e.tar.xz ice-d8617dcd8dc79e135be0cc9cc534a43d5b328c0e.zip |
Fixed ICE-6482: Cleanup WinRT makefiles, other WinRT minor fixes
Diffstat (limited to 'cpp/src/Ice/Buffer.cpp')
-rw-r--r-- | cpp/src/Ice/Buffer.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Ice/Buffer.cpp b/cpp/src/Ice/Buffer.cpp index 0240a81ec6c..c3c882488a5 100644 --- a/cpp/src/Ice/Buffer.cpp +++ b/cpp/src/Ice/Buffer.cpp @@ -9,6 +9,7 @@ #include <Ice/Buffer.h> #include <Ice/LocalException.h> +#include <Ice/BasicStream.h> using namespace std; using namespace Ice; @@ -18,7 +19,7 @@ void IceInternal::Buffer::swapBuffer(Buffer& other) { b.swap(other.b); - std::swap(i, other.i); + std::swap(i, other.i); } IceInternal::Buffer::Container::Container() : @@ -87,7 +88,7 @@ IceInternal::Buffer::Container::reserve(size_type n) { return; } - + pointer p = reinterpret_cast<pointer>(::realloc(_buf, _capacity)); if(!p) { |