Skip to content

Commit e915f4d

Browse files
PolarGooseCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent e43ab86 commit e915f4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_meter_dumps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void run_meter_test(std::span<const uint8_t> payload,
4444

4545
auto callback = [&](const dlms_parser::AxdrCapture& capture) {
4646
char obis_buf[32];
47-
std::string obis_str(capture.obis.to_string(obis_buf));
47+
capture.obis.to_string(obis_buf);
4848

4949
if (capture.is_numeric()) {
5050
captured_floats[obis_buf] = capture.value_as_float_with_scaler_applied();

0 commit comments

Comments
 (0)