diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-05-11 20:34:39 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2018-05-12 14:30:18 +0200 |
| commit | 7dca7c237eb9ae40765e581317df6df4b4fc1ad4 (patch) | |
| tree | 05b455cac6424a82939198cbc423bcb837c78bd2 /Source/Core/VideoCommon/VideoConfig.cpp | |
| parent | f0c5b761865946f273b6b6937aa47f8b10c745a5 (diff) | |
Config: Fix template deduction for implicit conversions
This excludes the second argument from template deduction.
Otherwise, it is required to manually cast the second argument to
the ConfigInfo type (because implicit conversions won't work).
e.g. to set the value for a ConfigInfo<std::string> from a string
literal, you'd need a ugly `std::string("yourstring")`.
Diffstat (limited to 'Source/Core/VideoCommon/VideoConfig.cpp')
0 files changed, 0 insertions, 0 deletions
