make MyArgs non-copyable

this seems to have weird effects
This commit is contained in:
Jörg Thalheim
2023-12-10 20:36:24 +00:00
committed by mergify[bot]
parent b24c03e2de
commit b6ec7d2ecf
+1
View File
@@ -27,6 +27,7 @@ class MyArgs : virtual public nix::MixEvalArgs,
.useRegistries = false,
.allowUnlocked = false};
MyArgs();
MyArgs(const MyArgs&) = delete;
void parseArgs(char** argv, int argc);
};