summaryrefslogtreecommitdiff
path: root/idlc/inc/astscope.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/inc/astscope.hxx')
-rw-r--r--idlc/inc/astscope.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/idlc/inc/astscope.hxx b/idlc/inc/astscope.hxx
index 5f6ed53f8df1..2e7e258e2312 100644
--- a/idlc/inc/astscope.hxx
+++ b/idlc/inc/astscope.hxx
@@ -19,6 +19,10 @@
#ifndef INCLUDED_IDLC_INC_ASTSCOPE_HXX
#define INCLUDED_IDLC_INC_ASTSCOPE_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include "idlc.hxx"
class AstExpression;
@@ -43,7 +47,7 @@ public:
// Name look up mechanism
AstDeclaration* lookupByName(const OString& scopedName);
// Look up the identifier 'name' specified only in the local scope
- AstDeclaration* lookupByNameLocal(const OString& name) const;
+ AstDeclaration* lookupByNameLocal(std::string_view name) const;
AstDeclaration* lookupInInherited(const OString& scopedName) const;