This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
espurna-mirror
mirror of
https://github.com/xoseperez/espurna
Watch
1
Star
0
Fork
1
Code
Releases
72
Activity
Browse Source
sns: single value filter has no reason to override capacity
pull/2525/head
Maxim Prokhorov
2 years ago
parent
c980acbd10
commit
61ac1c0778
2 changed files
with
0 additions
and
8 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
code/espurna/filters/LastFilter.h
+0
-4
code/espurna/filters/MaxFilter.h
+ 0
- 4
code/espurna/filters/LastFilter.h
View File
@ -13,10 +13,6 @@ public:
_value
=
value
;
}
size_t
capacity
(
)
const
override
{
return
1
;
}
void
reset
(
)
override
{
_value
=
0
;
}
+ 0
- 4
code/espurna/filters/MaxFilter.h
View File
@ -15,10 +15,6 @@ public:
_value
=
std
:
:
max
(
value
,
_value
)
;
}
size_t
capacity
(
)
const
{
return
1
;
}
void
reset
(
)
override
{
_value
=
0
;
}
Write
Preview
Loading…
Cancel
Save