fix: Invert null argument check (oops)
This commit is contained in:
parent
67046ec414
commit
560b09a9b7
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ static const int kDefaultMovieVolume = 85;
|
|||
static const int kDefaultMultiplayerPort = 2003;
|
||||
|
||||
Program::Program(int argc, char **argv) : _argc(argc), _argv(argv) {
|
||||
if (argv) {
|
||||
if (!argv) {
|
||||
throw invalid_argument("argv must not be null");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue