diff options
Diffstat (limited to 'src/Selection.h')
-rw-r--r-- | src/Selection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Selection.h b/src/Selection.h index 6779ee7ce..1a57d2e78 100644 --- a/src/Selection.h +++ b/src/Selection.h @@ -20,7 +20,7 @@ public: if (virtualSpace < 0) virtualSpace = 0; } - explicit SelectionPosition(std::string_view sv); + explicit SelectionPosition(std::string_view &sv); void Reset() noexcept { position = 0; virtualSpace = 0; @@ -121,7 +121,7 @@ struct SelectionRange { } constexpr SelectionRange(Sci::Position caret_, Sci::Position anchor_) noexcept : caret(caret_), anchor(anchor_) { } - explicit SelectionRange(std::string_view sv); + explicit SelectionRange(std::string_view &sv); SelectionSegment AsSegment() const noexcept { return {caret, anchor}; } |