diff --git a/modules/gui/include/visp3/gui/vpDisplayFactory.h b/modules/gui/include/visp3/gui/vpDisplayFactory.h index 16c68f3e10..713dea9678 100644 --- a/modules/gui/include/visp3/gui/vpDisplayFactory.h +++ b/modules/gui/include/visp3/gui/vpDisplayFactory.h @@ -128,15 +128,12 @@ vpDisplay *allocateDisplay(vpImage &I, const int winx = -1, const int winy = #if (VISP_CXX_STANDARD >= VISP_CXX_STANDARD_11) /** - * \brief Return a smart pointer vpDisplay specialization initialized with \b I + * \brief Return a smart pointer vpDisplay specialization * if a GUI library is available or nullptr otherwise. * - * \tparam T : Any type that an image can handle and that can be displayed. - * - * \return A smart pointer pointing to a vpDisplay specialization initialized with \b I + * \return A smart pointer pointing to a vpDisplay specialization * if a GUI library is available or nullptr otherwise. */ -template std::shared_ptr createDisplay() { #if defined(VISP_HAVE_DISPLAY)