diff options
author | Lioncash <mathew1800@gmail.com> | 2022-10-18 13:05:08 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-10-18 16:06:50 -0400 |
commit | 0101ef9fb115e59f1b9b7a28890104b115eb184d (patch) | |
tree | 93f220b72dd2ccea271aeefb938aa8d9f072975d /src/common/memory_detect.cpp | |
parent | 9393f90ccfd3131a021a1c5f3e42f20a287a6560 (diff) |
fixed_point: Make to_uint() non-const
This calls round_up(), which is a non-const member function, so if a
fixed-point instantiation ever calls to_uint(), it'll result in a
compiler error.
This allows the member function to work.
While we're at it, we can actually mark to_long_floor() as const, since
it's not modifying any member state.
Diffstat (limited to 'src/common/memory_detect.cpp')
0 files changed, 0 insertions, 0 deletions