mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 05:26:02 +01:00
style(libstore/find-cycles): modernize type aliases (typedef → using)
This commit is contained in:
parent
ce70994454
commit
8aa1564070
1 changed files with 2 additions and 2 deletions
|
|
@ -18,12 +18,12 @@ namespace nix {
|
|||
* Example: {"/nix/store/abc-foo/file1", "/nix/store/def-bar/file2"}
|
||||
* represents a reference from file1 to file2.
|
||||
*/
|
||||
typedef std::deque<std::string> StoreCycleEdge;
|
||||
using StoreCycleEdge = std::deque<std::string>;
|
||||
|
||||
/**
|
||||
* A collection of cycle edges found during scanning.
|
||||
*/
|
||||
typedef std::vector<StoreCycleEdge> StoreCycleEdgeVec;
|
||||
using StoreCycleEdgeVec = std::vector<StoreCycleEdge>;
|
||||
|
||||
/**
|
||||
* A sink that extends RefScanSink to track file paths where references are found.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue