aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/content-address.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-08-05 16:50:05 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-08-05 16:50:05 +0200
commite48f944e9d9c51afaef1e6aaa8328754c7cbbd7e (patch)
tree1e68391263a07e46002fdeae7ddb9ffd7f98c427 /src/libstore/content-address.cc
parent25f79121564b21ec7c84f33c9348b169f20d2bdc (diff)
parente561a13a5863f25c81e8abc9d235a12925fd454e (diff)
Merge branch 'misc-ca' of https://github.com/obsidiansystems/nix
Diffstat (limited to 'src/libstore/content-address.cc')
-rw-r--r--src/libstore/content-address.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstore/content-address.cc b/src/libstore/content-address.cc
index 6428aa736..0885c3d0e 100644
--- a/src/libstore/content-address.cc
+++ b/src/libstore/content-address.cc
@@ -26,10 +26,6 @@ std::string makeFixedOutputCA(FileIngestionMethod method, const Hash & hash)
+ hash.to_string(Base32, true);
}
-// FIXME Put this somewhere?
-template<class... Ts> struct overloaded : Ts... { using Ts::operator()...; };
-template<class... Ts> overloaded(Ts...) -> overloaded<Ts...>;
-
std::string renderContentAddress(ContentAddress ca) {
return std::visit(overloaded {
[](TextHash th) {