Updated default_options in config.rs to capture the return value of [].map, eliminating a build-time warning.
This commit is contained in:
1 parent
d6dd7ae052
commit
8e88482451
1 file changed
+1
@@ -1582,6 +1582,7 @@ impl PeerConfig {
|
|||||||
|
|
||||||
fn default_options() -> HashMap<String, String> {
|
fn default_options() -> HashMap<String, String> {
|
||||||
let mut mp: HashMap<String, String> = Default::default();
|
let mut mp: HashMap<String, String> = Default::default();
|
||||||
|
let _ =
|
||||||
[
|
[
|
||||||
keys::OPTION_CODEC_PREFERENCE,
|
keys::OPTION_CODEC_PREFERENCE,
|
||||||
keys::OPTION_CUSTOM_FPS,
|
keys::OPTION_CUSTOM_FPS,
|
||||||
|
|||||||
Reference in new issue
Block a user