1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 14:53:16 +02:00

Doc comments: use std::unordered_map

Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
Robert Hensing 2024-07-15 19:04:37 +02:00
parent 9c6678da0e
commit 6c9d62dceb
3 changed files with 4 additions and 4 deletions

View file

@ -64,7 +64,7 @@ struct LexerState
/**
* @brief Maps some positions to a DocComment, where the comment is relevant to the location.
*/
std::map<PosIdx, DocComment> & positionToDocComment;
std::unordered_map<PosIdx, DocComment> & positionToDocComment;
PosTable & positions;
PosTable::Origin origin;