diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2021-03-15 22:56:51 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-19 05:54:14 +0000 |
commit | b0e48211b3cbda845bd18c3283fe0d5f5dcd98c6 (patch) | |
tree | da67a68169b9c3b73c7a97b6af0f2c3321281bf7 /src/mongo/db/exec/sbe/values/slot.h | |
parent | 612a3725d98381bf9c0777bcd6b2169cae33f4d1 (diff) | |
download | mongo-b0e48211b3cbda845bd18c3283fe0d5f5dcd98c6.tar.gz |
SERVER-55180 Convert SBE from std::string_view to StringData
Remove implicit StringData <=> string_view conversions
Diffstat (limited to 'src/mongo/db/exec/sbe/values/slot.h')
-rw-r--r-- | src/mongo/db/exec/sbe/values/slot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/sbe/values/slot.h b/src/mongo/db/exec/sbe/values/slot.h index fbfc7239d3b..44fcde13d1d 100644 --- a/src/mongo/db/exec/sbe/values/slot.h +++ b/src/mongo/db/exec/sbe/values/slot.h @@ -633,7 +633,7 @@ void readKeyStringValueIntoAccessors( template <typename T> using SlotMap = absl::flat_hash_map<SlotId, T>; using SlotAccessorMap = SlotMap<SlotAccessor*>; -using FieldAccessorMap = absl::flat_hash_map<std::string, std::unique_ptr<ViewOfValueAccessor>>; +using FieldAccessorMap = StringMap<std::unique_ptr<ViewOfValueAccessor>>; using SlotSet = absl::flat_hash_set<SlotId>; using SlotVector = std::vector<SlotId>; |