From 8aa15640708579b8e8da7de6089cdf384f8f4bd7 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Costa Date: Sat, 11 Oct 2025 20:15:31 +0000 Subject: [PATCH] =?UTF-8?q?style(libstore/find-cycles):=20modernize=20type?= =?UTF-8?q?=20aliases=20(typedef=20=E2=86=92=20using)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libstore/build/find-cycles.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libstore/build/find-cycles.hh b/src/libstore/build/find-cycles.hh index fc6429042..ed7c1454d 100644 --- a/src/libstore/build/find-cycles.hh +++ b/src/libstore/build/find-cycles.hh @@ -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 StoreCycleEdge; +using StoreCycleEdge = std::deque; /** * A collection of cycle edges found during scanning. */ -typedef std::vector StoreCycleEdgeVec; +using StoreCycleEdgeVec = std::vector; /** * A sink that extends RefScanSink to track file paths where references are found.