diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-02 00:52:36 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-02 00:52:36 +1000 |
commit | 17af21fd421429b7a64c93c8b09e3f9ea436069a (patch) | |
tree | 165732dde2360fc56b9b08a1a25355b95575c132 /source/core/StarStringView.cpp | |
parent | 210d6326fcbc87ad69e8a18fa60554d223739b7c (diff) |
use raw wrapWidth ptr instead of Maybe
Diffstat (limited to 'source/core/StarStringView.cpp')
-rw-r--r-- | source/core/StarStringView.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/core/StarStringView.cpp b/source/core/StarStringView.cpp index 0399b86..8ad3b8c 100644 --- a/source/core/StarStringView.cpp +++ b/source/core/StarStringView.cpp @@ -295,6 +295,7 @@ size_t StringView::findFirstNotOf(StringView pattern, size_t beg) const { } size_t StringView::findNextBoundary(size_t index, bool backwards) const { + //TODO: Make this faster. size_t mySize = size(); starAssert(index <= mySize); if (!backwards && (index == mySize)) |