summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/errorhandler.hxx2
-rw-r--r--idlc/source/errorhandler.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/idlc/inc/errorhandler.hxx b/idlc/inc/errorhandler.hxx
index a1e1a8729ba4..1700bdbf8060 100644
--- a/idlc/inc/errorhandler.hxx
+++ b/idlc/inc/errorhandler.hxx
@@ -94,7 +94,7 @@ public:
// Report a failed name lookup attempt
static void lookupError(const OString& n);
// Report a failed name lookup attempt
- static void lookupError(ErrorCode e, const OString& n, AstDeclaration* pScope);
+ static void lookupError(ErrorCode e, const OString& n, AstDeclaration const * pScope);
// Report a type error
diff --git a/idlc/source/errorhandler.cxx b/idlc/source/errorhandler.cxx
index 53339318ec91..3700b576703d 100644
--- a/idlc/source/errorhandler.cxx
+++ b/idlc/source/errorhandler.cxx
@@ -487,7 +487,7 @@ void ErrorHandler::lookupError(const OString& n)
idlc()->incErrorCount();
}
-void ErrorHandler::lookupError(ErrorCode e, const OString& n, AstDeclaration* pScope)
+void ErrorHandler::lookupError(ErrorCode e, const OString& n, AstDeclaration const * pScope)
{
errorHeader(e);
fprintf(stderr, "'%s' in '%s'\n", n.getStr(), pScope->getFullName().getStr());