make MyArgs non-copyable

this seems to have weird effects
This commit is contained in:
Jörg Thalheim 2023-12-10 20:20:17 +01:00 committed by mergify[bot]
parent b24c03e2de
commit b6ec7d2ecf

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);
};