summaryrefslogtreecommitdiff
path: root/drivers/unix/syslog_logger.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-11-26 12:09:58 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-11-26 12:11:21 +0100
commit966c68badd236514105249c8bf8bdb9f5cbd35d1 (patch)
treed9f1af77d0b3c391c268317935e96b89d06c3107 /drivers/unix/syslog_logger.cpp
parent7e27ac98da06b69d69bbcd26eb6078fadb998cf2 (diff)
Range: Remove min/max check added in #33908
This wasn't a very good idea as it puts too strict requirements on how to set `min` and `max` values. For example, since the default min and max are 0 and 100, this triggers an error: ``` set_min(256) set_max(16384) ``` Since `min` will be higher than `max` temporarily. It can be worked around by setting max first, but it's not really intuitive. I'll relax the requirement as it's only a problem in `get_as_ratio`, which already has a check. Fix another min == max occurrence.
Diffstat (limited to 'drivers/unix/syslog_logger.cpp')
0 files changed, 0 insertions, 0 deletions