projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
core: fix or silence clippy warnings
[nihav.git]
/
nihav-core
/
src
/
reorder.rs
diff --git
a/nihav-core/src/reorder.rs
b/nihav-core/src/reorder.rs
index 83896df5958394fc9d665d02244ab57949cc28a9..625e759952caa7cfb656d7141cad7cc4b894dc61 100644
(file)
--- a/
nihav-core/src/reorder.rs
+++ b/
nihav-core/src/reorder.rs
@@
-32,6
+32,12
@@
impl NoReorderer {
}
}
+impl Default for NoReorderer {
+ fn default() -> Self {
+ Self::new()
+ }
+}
+
impl FrameReorderer for NoReorderer {
fn add_frame(&mut self, fref: NAFrameRef) -> bool {
if self.fref.is_none() {