diff options
author | Marc Laukien <marc@zeroc.com> | 2002-04-23 14:59:36 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-04-23 14:59:36 +0000 |
commit | 9a2e0aa1382d99c49cbe77b2bfc24de11f10ea80 (patch) | |
tree | bc9567d89981829c64c1498a7fe0f2ee6147a889 /cpp/src/Slice/Parser.cpp | |
parent | Glacier updates. (diff) | |
download | ice-9a2e0aa1382d99c49cbe77b2bfc24de11f10ea80.tar.bz2 ice-9a2e0aa1382d99c49cbe77b2bfc24de11f10ea80.tar.xz ice-9a2e0aa1382d99c49cbe77b2bfc24de11f10ea80.zip |
bug fix
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index fc8d797efea..5f521532cad 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -940,13 +940,13 @@ Slice::Container::hasNonLocals() for (ContainedList::const_iterator p = _contents.begin(); p != _contents.end(); ++p) { ConstructedPtr constructed = ConstructedPtr::dynamicCast(*p); - if (constructed && constructed->isLocal()) + if (constructed && !constructed->isLocal()) { return true; } ExceptionPtr exception = ExceptionPtr::dynamicCast(*p); - if (exception && exception->isLocal()) + if (exception && !exception->isLocal()) { return true; } |