diff --git a/src/common/FrameBufferSDL2.cxx b/src/common/FrameBufferSDL2.cxx index 4d013a35d..93a12615d 100644 --- a/src/common/FrameBufferSDL2.cxx +++ b/src/common/FrameBufferSDL2.cxx @@ -144,11 +144,11 @@ void FrameBufferSDL2::queryHardware(vector& fullscreenRes, struct RenderName { - string sdlName; - string stellaName; + const char* const sdlName; + const char* const stellaName; }; // Create name map for all currently known SDL renderers - static const std::array RENDERER_NAMES = {{ + static constexpr std::array RENDERER_NAMES = {{ { "direct3d", "Direct3D" }, { "metal", "Metal" }, { "opengl", "OpenGL" },