[cstdstring] demise Format, replacing with StringUtils::Format
[vuplus_xbmc] / xbmc / windowing / egl / wayland / XBMCConnection.cpp
index 6734ed5..ac16f9c 100644 (file)
@@ -33,6 +33,8 @@
 #include "guilib/Resolution.h"
 #include "guilib/gui3d.h"
 
+#include "utils/StringUtils.h"
+
 #include "windowing/DllWaylandClient.h"
 #include "windowing/DllXKBCommon.h"
 
@@ -694,7 +696,7 @@ void ResolutionInfoForMode(const xw::Output::ModeGeometry &mode,
   res.fPixelRatio = 1.0f;
   res.iScreenWidth = res.iWidth;
   res.iScreenHeight = res.iHeight;
-  res.strMode.Format("%dx%d @ %.2fp",
+  res.strMode = StringUtils::Format("%dx%d @ %.2fp",
                      res.iScreenWidth,
                      res.iScreenHeight,
                      res.fRefreshRate);