Fix build

This commit is contained in:
Eelco Dolstra 2016-02-25 11:55:05 +01:00
parent f1bdeac986
commit 7873cfb18d
3 changed files with 6 additions and 6 deletions

View file

@ -43,4 +43,4 @@ struct CmdBuild : StoreCommand, MixDryRun, MixInstallables
} }
}; };
static RegisterCommand r1(make_ref<Command, CmdBuild>()); static RegisterCommand r1(make_ref<CmdBuild>());

View file

@ -59,7 +59,7 @@ bool MultiCommand::processArgs(const Strings & args, bool finish)
void StoreCommand::run() void StoreCommand::run()
{ {
run(openStore(reserveSpace)); run(openStore());
} }
} }

View file

@ -45,8 +45,8 @@ struct CmdHash : Command
} }
}; };
static RegisterCommand r1(make_ref<Command, CmdHash>(CmdHash::mFile)); static RegisterCommand r1(make_ref<CmdHash>(CmdHash::mFile));
static RegisterCommand r2(make_ref<Command, CmdHash>(CmdHash::mPath)); static RegisterCommand r2(make_ref<CmdHash>(CmdHash::mPath));
struct CmdToBase : Command struct CmdToBase : Command
{ {
@ -82,8 +82,8 @@ struct CmdToBase : Command
} }
}; };
static RegisterCommand r3(make_ref<Command, CmdToBase>(false)); static RegisterCommand r3(make_ref<CmdToBase>(false));
static RegisterCommand r4(make_ref<Command, CmdToBase>(true)); static RegisterCommand r4(make_ref<CmdToBase>(true));
/* Legacy nix-hash command. */ /* Legacy nix-hash command. */
static int compatNixHash(int argc, char * * argv) static int compatNixHash(int argc, char * * argv)