Follow-up of previous commit (Slic3r::GUI::format issues)

Another missing namespace qualification caused infinite recursion
This commit is contained in:
Lukas Matena 2020-04-30 11:32:14 +02:00
parent 5679438e64
commit bc34928ea8

View File

@ -29,7 +29,7 @@ inline wxString format_wxstr(const wxString& fmt, TArgs&&... args) {
}
template<typename... TArgs>
inline std::string format(const wxString& fmt, TArgs&&... args) {
return format(fmt.ToUTF8().data(), std::forward<TArgs>(args)...);
return Slic3r::format(fmt.ToUTF8().data(), std::forward<TArgs>(args)...);
}
} // namespace GUI