diff options
Diffstat (limited to 'src/libslic3r/GCode.cpp')
-rw-r--r-- | src/libslic3r/GCode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 78a01b9de..effe3caea 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -2546,7 +2546,7 @@ void GCode::_write(FILE* file, const char *what) if (what != nullptr) { //const char * gcode_pp = _post_process(what).c_str(); - std::string str_preproc = what; + std::string str_preproc{ what }; _post_process(str_preproc); const std::string str_ana = m_analyzer.process_gcode(str_preproc); |