diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-08-25 09:53:12 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-08-25 09:55:07 -0400 |
commit | 2f5d3da8062ae58242a8de2bad470a66478edea4 (patch) | |
tree | 7d411b5cd956ed8fa819c657982cd5da1de2215f /src/libstore/downstream-placeholder.hh | |
parent | 0a6ac133cfd1c86b8f6062b8b12e5aac8e18df3c (diff) |
Introduce `OutputName` and `OutputNameView` type aliases
Hopefully they make the code easier to understand!
Diffstat (limited to 'src/libstore/downstream-placeholder.hh')
-rw-r--r-- | src/libstore/downstream-placeholder.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/downstream-placeholder.hh b/src/libstore/downstream-placeholder.hh index d58a2ac14..c911ecea2 100644 --- a/src/libstore/downstream-placeholder.hh +++ b/src/libstore/downstream-placeholder.hh @@ -58,7 +58,7 @@ public: */ static DownstreamPlaceholder unknownCaOutput( const StorePath & drvPath, - std::string_view outputName, + OutputNameView outputName, const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings); /** @@ -72,7 +72,7 @@ public: */ static DownstreamPlaceholder unknownDerivation( const DownstreamPlaceholder & drvPlaceholder, - std::string_view outputName, + OutputNameView outputName, const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings); /** |