Skip to content

Commit 70b381c

Browse files
committed
clang-tidy
1 parent d1a92f0 commit 70b381c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base/type/physicalvalue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ template <typename Value, Refl::is_enum Unit> struct PhysicalValue
1919
template <std::same_as<double> = Value>
2020
static PhysicalValue fromString(const std::string &str)
2121
{
22-
Text::ValueUnit vu{str};
22+
const Text::ValueUnit vu{str};
2323
return {vu.getValue(), Refl::get_enum<Unit>(vu.getUnit())};
2424
}
2525

0 commit comments

Comments
 (0)