From 30c6389ed909f4524e85b9f19b679078f6047410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20A=2E=20Col=C3=B3n=20V=C3=A9lez?= Date: Sun, 2 Aug 2015 18:55:01 -0400 Subject: [PATCH] VS2015: Fix compilation Error C2338 The C++ Standard forbids containers of const elements because allocator is ill-formed. (compiling source file GS.cpp) --- plugins/GSdx/GSSettingsDlg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GSSettingsDlg.h b/plugins/GSdx/GSSettingsDlg.h index d95437e615..2e7b8ddd69 100644 --- a/plugins/GSdx/GSSettingsDlg.h +++ b/plugins/GSdx/GSSettingsDlg.h @@ -77,7 +77,7 @@ class GSSettingsDlg : public GSDialog Adapter(const std::string &n, const std::string &i, const D3D_FEATURE_LEVEL &l) : name(n), id(i), level(l) {} }; - std::vector adapters; + std::vector adapters; vector m_ocl_devs; uint32 m_lastValidMsaa; // used to revert to previous dialog value if the user changed to invalid one, or lesser one and canceled