Forbid instanciation of static classes

This commit is contained in:
Leonetienne
2022-05-31 14:28:17 +02:00
parent 2f6df42696
commit 6a14b7b428
6 changed files with 20 additions and 2 deletions

View File

@@ -16,9 +16,10 @@ private:
static void CrashWithMsg(const std::string& msg);
static void CatchVersionQueries();
CommandlineInterface() {};
static Hazelnp::CmdArgsInterface nupp;
// No instanciation! >:(
CommandlineInterface() {};
};
#endif