diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-03-23 16:37:45 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-03-23 16:37:45 +0000 |
commit | dd66c50ce1cd9c8fc45d286d68c059e35073de0d (patch) | |
tree | cabb1fd247cefdf130f221c04d1eb8952ec46672 /cpp/src/Ice/ImplicitContextI.cpp | |
parent | fix timestamp string (diff) | |
download | ice-dd66c50ce1cd9c8fc45d286d68c059e35073de0d.tar.bz2 ice-dd66c50ce1cd9c8fc45d286d68c059e35073de0d.tar.xz ice-dd66c50ce1cd9c8fc45d286d68c059e35073de0d.zip |
Bug 1873.
Diffstat (limited to 'cpp/src/Ice/ImplicitContextI.cpp')
-rw-r--r-- | cpp/src/Ice/ImplicitContextI.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/Ice/ImplicitContextI.cpp b/cpp/src/Ice/ImplicitContextI.cpp index 1a398c269d4..cbdf69c2982 100644 --- a/cpp/src/Ice/ImplicitContextI.cpp +++ b/cpp/src/Ice/ImplicitContextI.cpp @@ -214,19 +214,19 @@ SharedImplicitContext::write(const Context& proxyCtx, ::IceInternal::BasicStream IceUtil::Mutex::Lock lock(_mutex); if(proxyCtx.size() == 0) { - __write(s, _context, __U__Context()); + __writeContext(s, _context); } else if(_context.size() == 0) { lock.release(); - __write(s, proxyCtx, __U__Context()); + __writeContext(s, proxyCtx); } else { Context combined = proxyCtx; combined.insert(_context.begin(), _context.end()); lock.release(); - __write(s, combined, __U__Context()); + __writeContext(s, combined); } } @@ -572,17 +572,17 @@ PerThreadImplicitContext::write(const Context& proxyCtx, ::IceInternal::BasicStr if(threadCtx == 0 || threadCtx->size() == 0) { - __write(s, proxyCtx, __U__Context()); + __writeContext(s, proxyCtx); } else if(proxyCtx.size() == 0) { - __write(s, *threadCtx, __U__Context()); + __writeContext(s, *threadCtx); } else { Context combined = proxyCtx; combined.insert(threadCtx->begin(), threadCtx->end()); - __write(s, combined, __U__Context()); + __writeContext(s, combined); } } |