summaryrefslogtreecommitdiff
path: root/integrationtests
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-22 12:33:12 +0300
committerPaul Buetow <paul@buetow.org>2026-05-22 12:33:12 +0300
commit9a68d3658e9d4f71121f90a1e0489898fea849f5 (patch)
treedfd9a946c6118a0831e8af4d3bcd2f7a7f748e68 /integrationtests
parentcb1e4376afe9f887b9e3b3b2a9ddef116bedb0cc (diff)
rpn: eliminate duplicated prefixMode state between RPN and Operations
Remove the prefixMode field from the RPN struct; it was duplicated from Operations where it is actually used. Add GetPrefixMode to the Operator interface so RPN can delegate both GetPrefixMode and SetPrefixMode to the Operations instance behind the interface. In rpn_parse.go evaluate(), drop the direct r.prefixMode = IEC/SI writes and the now-unnecessary lock ordering comment; only r.ops.SetPrefixMode() remains.
Diffstat (limited to 'integrationtests')
0 files changed, 0 insertions, 0 deletions