MSVC is a trouxa that doesn't like constructor inheritance with templated base (nw)

This commit is contained in:
Vas Crabb 2017-08-11 12:05:29 +10:00
parent cb7a04174f
commit 378fe3d0d0
2 changed files with 2 additions and 2 deletions

View File

@ -745,7 +745,7 @@ template <template <machine_filter::type T> class Base, machine_filter::type Typ
class inverted_machine_filter : public Base<Type>
{
public:
using Base<Type>::Base;
inverted_machine_filter(char const *value, emu_file *file, unsigned indent) : Base<Type>(value, file, indent) { }
virtual bool apply(game_driver const &driver) const override { return !Base<Type>::apply(driver); }
};

View File

@ -272,7 +272,7 @@ enum
HOVER_RPANEL_ARROW,
HOVER_LPANEL_ARROW,
HOVER_FILTER_FIRST,
HOVER_FILTER_LAST = HOVER_FILTER_FIRST + std::max<unsigned>(ui::machine_filter::COUNT, ui::software_filter::COUNT),
HOVER_FILTER_LAST = HOVER_FILTER_FIRST + std::max<int>(ui::machine_filter::COUNT, ui::software_filter::COUNT),
HOVER_RP_FIRST,
HOVER_RP_LAST = HOVER_RP_FIRST + 1 + RP_LAST,
HOVER_INFO_TEXT