changed all non-owned unique_ptr access to reference to the object itself
This commit is contained in:
@ -19,7 +19,7 @@ int main(int argc, char **argv) {
|
||||
return RETURN_PANICKED;
|
||||
}
|
||||
|
||||
game game_proc(enabled_features, in, out, log, rng);
|
||||
game game_proc(enabled_features, *in, *out, *log, *rng);
|
||||
|
||||
while (game_proc.run() != game_status::terminated)
|
||||
out->render();
|
||||
|
Reference in New Issue
Block a user