diff options
author | Benoit Foucher <benoit@zeroc.com> | 2012-08-09 10:20:56 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2012-08-09 10:20:56 +0200 |
commit | 62f9ccfd51f985db0539d9af7030c0461bb23008 (patch) | |
tree | f42692c3240096e7eb400bd698125ceeec11e436 /cpp/src/Slice/Parser.cpp | |
parent | Merge remote-tracking branch 'origin/encoding11' into mx (diff) | |
download | ice-62f9ccfd51f985db0539d9af7030c0461bb23008.tar.bz2 ice-62f9ccfd51f985db0539d9af7030c0461bb23008.tar.xz ice-62f9ccfd51f985db0539d9af7030c0461bb23008.zip |
Fix
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rwxr-xr-x | cpp/src/Slice/Parser.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp index 8b6c5e24ac3..ecbc3b1b625 100755 --- a/cpp/src/Slice/Parser.cpp +++ b/cpp/src/Slice/Parser.cpp @@ -5809,29 +5809,6 @@ Slice::Unit::findUsedBy(const ContainedPtr& contained) const } bool -Slice::Unit::usesProxies() const -{ - for(map<string, ContainedList>::const_iterator p = _contentMap.begin(); p != _contentMap.end(); ++p) - { - for(ContainedList::const_iterator q = p->second.begin(); q != p->second.end(); ++q) - { - ClassDeclPtr decl = ClassDeclPtr::dynamicCast(*q); - if(decl && !decl->isLocal()) - { - return true; - } - } - } - - // if(_builtins.find(Builtin::KindObjectProxy) != _builtins.end()) - // { - // return true; - // } - - return false; -} - -bool Slice::Unit::usesNonLocals() const { for(map<string, ContainedList>::const_iterator p = _contentMap.begin(); p != _contentMap.end(); ++p) |