aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskelltokenizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/haskell/haskelltokenizer.h')
-rw-r--r--plugins/haskell/haskelltokenizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/haskell/haskelltokenizer.h b/plugins/haskell/haskelltokenizer.h
index 29b10df..63d82d9 100644
--- a/plugins/haskell/haskelltokenizer.h
+++ b/plugins/haskell/haskelltokenizer.h
@@ -61,7 +61,7 @@ public:
TokenType type = TokenType::Unknown;
int startCol = -1;
int length = -1;
- QStringRef text;
+ QStringView text;
std::shared_ptr<QString> source; // keep the string ref alive
};