From 768099350666f103131c59853cc7d70c0a6e19cd Mon Sep 17 00:00:00 2001 From: Matthew Kenigsberg Date: Mon, 1 Jun 2020 09:01:37 -0600 Subject: [PATCH] Tree ctors --- src/libfetchers/fetchers.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libfetchers/fetchers.hh b/src/libfetchers/fetchers.hh index c43cfe50c..2e8c534b0 100644 --- a/src/libfetchers/fetchers.hh +++ b/src/libfetchers/fetchers.hh @@ -16,6 +16,8 @@ struct Tree { Path actualPath; StorePath storePath; + Tree(Path && actualPath, StorePath && storePath) : actualPath(actualPath), storePath(std::move(storePath)) {} + Tree (const Tree & rhs) : actualPath(rhs.actualPath), storePath(rhs.storePath.clone()) {} }; struct InputScheme;