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:
parent
131b6ccc71
commit
21817473e8
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue