Skip to content

Commit 901f941

Browse files
committed
Fix fmt::format runtime string.
1 parent 465779f commit 901f941

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ using primitives::Command;
4646

4747
void applyVersion(String &s, const Version &v)
4848
{
49-
s = fmt::format(s,
49+
s = fmt::format(fmt::runtime(s),
5050
fmt::arg("M", (int)v.major),
5151
fmt::arg("m", (int)v.minor),
5252
fmt::arg("p", (int)v.patch),

0 commit comments

Comments
 (0)