summaryrefslogtreecommitdiff
path: root/idlc/inc/aststruct.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/inc/aststruct.hxx')
-rw-r--r--idlc/inc/aststruct.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/idlc/inc/aststruct.hxx b/idlc/inc/aststruct.hxx
index bb5ef15152e2..5e037d1b5a72 100644
--- a/idlc/inc/aststruct.hxx
+++ b/idlc/inc/aststruct.hxx
@@ -19,6 +19,10 @@
#ifndef INCLUDED_IDLC_INC_ASTSTRUCT_HXX
#define INCLUDED_IDLC_INC_ASTSTRUCT_HXX
+#include <sal/config.h>
+
+#include <string_view>
+
#include "asttype.hxx"
#include "astscope.hxx"
#include "idlctypes.hxx"
@@ -43,7 +47,7 @@ public:
std::size_t getTypeParameterCount() const
{ return m_typeParameters.size(); }
- AstDeclaration const * findTypeParameter(OString const & name) const;
+ AstDeclaration const * findTypeParameter(std::string_view name) const;
virtual bool isType() const override;