VS2015: Fix compilation

Error   C2338   The C++ Standard forbids containers of const elements
because allocator<const T> is ill-formed. (compiling source file GS.cpp)
This commit is contained in:
Miguel A. Colón Vélez 2015-08-02 18:55:01 -04:00 committed by Gregory Hainaut
parent d45676b478
commit 30c6389ed9
1 changed files with 1 additions and 1 deletions

View File

@ -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<const Adapter> adapters;
std::vector<Adapter> adapters;
vector<GSSetting> 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