diff options
| author | nyamatongwe <unknown> | 2013-05-04 17:45:47 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2013-05-04 17:45:47 +1000 |
| commit | be2e93a378bd8e6f425185e80d106b26b7eb854a (patch) | |
| tree | afe2d853d57f39dff1ce7fc6e9a48a08a9d5636a /src/RESearch.h | |
| parent | 807ba474304f0fdeed7548518f5c4f22517be82b (diff) | |
| download | scintilla-mirror-be2e93a378bd8e6f425185e80d106b26b7eb854a.tar.gz | |
Replacing raw pointers and allocations with std::string.
Diffstat (limited to 'src/RESearch.h')
| -rw-r--r-- | src/RESearch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RESearch.h b/src/RESearch.h index 5e1d34168..1f30ffb6d 100644 --- a/src/RESearch.h +++ b/src/RESearch.h @@ -33,7 +33,7 @@ class RESearch { public: RESearch(CharClassify *charClassTable); ~RESearch(); - bool GrabMatches(CharacterIndexer &ci); + void GrabMatches(CharacterIndexer &ci); const char *Compile(const char *pattern, int length, bool caseSensitive, bool posix); int Execute(CharacterIndexer &ci, int lp, int endp); @@ -43,7 +43,7 @@ public: int bopat[MAXTAG]; int eopat[MAXTAG]; - char *pat[MAXTAG]; + std::string pat[MAXTAG]; private: void Init(); |
