diff options
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r-- | cpp/src/Slice/Parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 53c95bc7712..1f8742db243 100644 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -364,6 +364,7 @@ Slice::Container::createException(const string& name, bool local, const Exceptio { if (_unit->ignRedefs()) { + p->updateIncludeLevel(); return p; } @@ -397,6 +398,7 @@ Slice::Container::createStruct(const string& name) { if (_unit->ignRedefs()) { + p->updateIncludeLevel(); return p; } |