summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CIDLC/RepositoryIdGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/CIDLC/RepositoryIdGenerator.cpp')
-rw-r--r--TAO/CIAO/CIDLC/RepositoryIdGenerator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/CIAO/CIDLC/RepositoryIdGenerator.cpp b/TAO/CIAO/CIDLC/RepositoryIdGenerator.cpp
index 408bca2147c..c7409a67a3a 100644
--- a/TAO/CIAO/CIDLC/RepositoryIdGenerator.cpp
+++ b/TAO/CIAO/CIDLC/RepositoryIdGenerator.cpp
@@ -41,7 +41,7 @@ namespace
ScopedName decl_name (ti->declaration ());
DeclarationTable::IteratorPair iters (
- ti->table ().lookup (decl_name));
+ ti->scope ()->table ().lookup (decl_name));
for (; iters.first != iters.second; ++iters.first)
{
@@ -99,7 +99,7 @@ namespace
ScopedName decl_name (tp->declaration ());
DeclarationTable::IteratorPair iters (
- tp->table ().lookup (decl_name));
+ tp->scope ()->table ().lookup (decl_name));
for (; iters.first != iters.second; ++iters.first)
{
@@ -112,7 +112,7 @@ namespace
decl->context ().get<TypePrefixPtr> (
StringLiterals::STRS[StringLiterals::TYPE_PREFIX]));
- if ((prev->prefix ()) != (tp->prefix ()))
+ if (prev->prefix () != tp->prefix ())
{
//@@ Seems tp should containt filename and line
@@ -171,6 +171,6 @@ generate (TranslationUnitPtr const& u)
//@@ check errors
}
-
+
return true;
}