From 958f2f8bdf18410cd3639c328e7a39dd1b446201 Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Fri, 3 May 2024 10:06:11 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- src/gromacs/gmxana/gmx_analyze.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gromacs/gmxana/gmx_analyze.cpp b/src/gromacs/gmxana/gmx_analyze.cpp index d7569e9905e..64cafd0b035 100644 --- a/src/gromacs/gmxana/gmx_analyze.cpp +++ b/src/gromacs/gmxana/gmx_analyze.cpp @@ -936,7 +936,7 @@ static void print_fitted_function(const char* fitfile, { buf = gmx::concatenateBeforeExtension(fn_fitted, gmx::formatString("_%d", s)); } - do_fit(out_fit, s, FALSE, n, t, val, npargs, ppa, oenv, buf.c_str()); + do_fit(out_fit, s, FALSE, n, t, val, npargs, ppa, oenv, buf.u8string().c_str()); } } gmx_ffclose(out_fit);