Skip to content

Commit 6a33228

Browse files
committed
修复mac下的错误
1 parent dfbd408 commit 6a33228

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

include/CodeService/Spell/IdentifyParser.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ class IdentifyParser
2121
{
2222
std::size_t Start;
2323
std::size_t Count;
24+
25+
WordRange(std::size_t start, std::size_t count)
26+
: Start(start),
27+
Count(count)
28+
{
29+
}
2430
};
2531

2632
struct Word
@@ -44,4 +50,4 @@ class IdentifyParser
4450
std::string_view _source;
4551
std::size_t _currentIndex;
4652
std::vector<Word> _words;
47-
};
53+
};

0 commit comments

Comments
 (0)