Finalized the implementation
This commit is contained in:
+3
-1
@@ -45,5 +45,7 @@ ProgramOptions get_params(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
return {max_range, num_entries, is_seed_specified ? std::optional<int>(seed): std::nullopt};
|
||||
using return_type = std::optional<int>;
|
||||
|
||||
return {max_range, num_entries, is_seed_specified ? return_type(seed): std::nullopt};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user