Forbid instanciation of static classes
This commit is contained in:
@@ -16,9 +16,10 @@ private:
|
||||
static void CrashWithMsg(const std::string& msg);
|
||||
static void CatchVersionQueries();
|
||||
|
||||
CommandlineInterface() {};
|
||||
|
||||
static Hazelnp::CmdArgsInterface nupp;
|
||||
|
||||
// No instanciation! >:(
|
||||
CommandlineInterface() {};
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user