Fix build

This commit is contained in:
Eelco Dolstra 2019-10-21 18:58:38 +02:00
parent 9a18f544ac
commit cb1a79a96a

View file

@ -11,11 +11,6 @@ struct CmdMakeContentAddressable : StorePathsCommand
realiseMode = Build; realiseMode = Build;
} }
std::string name() override
{
return "make-content-addressable";
}
std::string description() override std::string description() override
{ {
return "rewrite a path or closure to content-addressable form"; return "rewrite a path or closure to content-addressable form";
@ -92,4 +87,4 @@ struct CmdMakeContentAddressable : StorePathsCommand
} }
}; };
static RegisterCommand r1(make_ref<CmdMakeContentAddressable>()); static auto r1 = registerCommand<CmdMakeContentAddressable>("make-content-addressable");