diff options
author | Marc Laukien <marc@zeroc.com> | 2001-11-10 14:26:31 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-11-10 14:26:31 +0000 |
commit | beb5efc86102085713d73a3733b2fc8bf7c4995f (patch) | |
tree | 8fe7c22eff6b4a8dc379b0155aadfd9685373051 /cpp/src/Slice/Parser.cpp | |
parent | scoping fixes (diff) | |
download | ice-beb5efc86102085713d73a3733b2fc8bf7c4995f.tar.bz2 ice-beb5efc86102085713d73a3733b2fc8bf7c4995f.tar.xz ice-beb5efc86102085713d73a3733b2fc8bf7c4995f.zip |
fixes
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 2ceef4df0e2..b9489111101 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -676,6 +676,11 @@ ExceptionPtr Slice::Container::lookupException(const string& scoped, bool printError) { ContainedList contained = lookupContained(scoped, printError); + if (contained.empty()) + { + return 0; + } + ExceptionList exceptions; for (ContainedList::iterator p = contained.begin(); p != contained.end(); ++p) { |