Remove static variable name clashes
This was useful for an experiment with building Nix as a single compilation unit. It's not very useful otherwise but also doesn't hurt...
This commit is contained in:
+2
-2
@@ -443,5 +443,5 @@ struct CmdPrintDevEnv : Common
|
||||
}
|
||||
};
|
||||
|
||||
static auto r1 = registerCommand<CmdPrintDevEnv>("print-dev-env");
|
||||
static auto r2 = registerCommand<CmdDevelop>("develop");
|
||||
static auto rCmdPrintDevEnv = registerCommand<CmdPrintDevEnv>("print-dev-env");
|
||||
static auto rCmdDevelop = registerCommand<CmdDevelop>("develop");
|
||||
|
||||
Reference in New Issue
Block a user