Removed spurious ;

This commit is contained in:
Davis King 2018-06-11 22:39:24 -04:00
parent 4f7c01f469
commit 1e8c2cc1b3
1 changed files with 2 additions and 2 deletions

View File

@ -360,7 +360,7 @@ namespace pybind11
template <size_t channels>
static PYBIND11_DESCR getname(typename std::enable_if<channels==1,int>::type) {
return _("numpy.ndarray[(rows,cols),") + npy_format_descriptor<basic_pixel_type>::name() + _("]");
};
}
template <size_t channels>
static PYBIND11_DESCR getname(typename std::enable_if<channels!=1,int>::type) {
if (channels == 2)
@ -369,7 +369,7 @@ namespace pybind11
return _("numpy.ndarray[(rows,cols,3),") + npy_format_descriptor<basic_pixel_type>::name() + _("]");
else if (channels == 4)
return _("numpy.ndarray[(rows,cols,4),") + npy_format_descriptor<basic_pixel_type>::name() + _("]");
};
}
static PYBIND11_DESCR name() {
constexpr size_t channels = dlib::pixel_traits<pixel_type>::num;