summaryrefslogtreecommitdiff
path: root/src/mongo/db/fts/unicode/string.h
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-07-29 15:28:20 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-02 23:52:53 +0000
commit27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c (patch)
treedf483a3165f012efe9c395e4bae67aa8097fe1ab /src/mongo/db/fts/unicode/string.h
parenteae9041c1c1320a15a6b13f3f1d4770a2b96e085 (diff)
downloadmongo-27f328ad14b8fbc006c5c4103becd0f6a3aaaa5c.tar.gz
SERVER-57446 fix clang-tidy header issues and add header-filter
Diffstat (limited to 'src/mongo/db/fts/unicode/string.h')
-rw-r--r--src/mongo/db/fts/unicode/string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/fts/unicode/string.h b/src/mongo/db/fts/unicode/string.h
index b27f92c2960..5bf98e2bf8d 100644
--- a/src/mongo/db/fts/unicode/string.h
+++ b/src/mongo/db/fts/unicode/string.h
@@ -58,7 +58,7 @@ public:
/**
* Reset the String with the new UTF-8 source data, reusing the underlying buffer when possible.
*/
- void resetData(const StringData utf8_src);
+ void resetData(StringData utf8_src);
/**
* Takes a substring of the current String and puts it in another String.
@@ -147,7 +147,7 @@ private:
/**
* Helper method for converting a UTF-8 string to a UTF-32 string.
*/
- void setData(const StringData utf8_src);
+ void setData(StringData utf8_src);
/**
* Unified implementation of substrToBuf and toLowerToBuf.