Switch to using proper (i.e. bool type) param_logic_t. (nw)

This commit is contained in:
couriersud 2016-06-12 16:19:32 +02:00
parent 7a023dd4e6
commit 4268d8af31
2 changed files with 2 additions and 2 deletions

View File

@ -407,7 +407,7 @@ param_template_t<C, T>::param_template_t(device_t &device, const pstring name, c
template class param_template_t<double, param_t::DOUBLE>; template class param_template_t<double, param_t::DOUBLE>;
template class param_template_t<int, param_t::INTEGER>; template class param_template_t<int, param_t::INTEGER>;
template class param_template_t<int, param_t::LOGIC>; template class param_template_t<bool, param_t::LOGIC>;
template class param_template_t<pstring, param_t::STRING>; template class param_template_t<pstring, param_t::STRING>;
template class param_template_t<pstring, param_t::MODEL>; template class param_template_t<pstring, param_t::MODEL>;

View File

@ -794,7 +794,7 @@ namespace netlist
using param_int_t = param_template_t<int, param_t::INTEGER>; using param_int_t = param_template_t<int, param_t::INTEGER>;
using param_str_t = param_template_t<pstring, param_t::STRING>; using param_str_t = param_template_t<pstring, param_t::STRING>;
using param_logic_t = param_template_t<int, param_t::INTEGER>; using param_logic_t = param_template_t<bool, param_t::LOGIC>;
class param_model_t : public param_str_t class param_model_t : public param_str_t
{ {