diff --git a/PAM/ssh/include/rublon/utils.hpp b/PAM/ssh/include/rublon/utils.hpp index 5449116..59bece9 100755 --- a/PAM/ssh/include/rublon/utils.hpp +++ b/PAM/ssh/include/rublon/utils.hpp @@ -124,29 +124,6 @@ void log(LogLevel level, const char * fmt, Ti &&... ti) noexcept { details::doLog(level, {line.data(), static_cast< std::size_t >(len)}); } -class PrintUser { - public: - template < typename Printer > - PrintUser(Printer & p) : _impl{std::make_unique< ModelImpl >(p)} {} - - private: - struct model { - virtual ~model(); - virtual void print(std::string_view line) const = 0; - }; - - template < typename Printer_T > - struct ModelImpl : public model { - ModelImpl(Printer_T & printer) : _printer{printer} {} - void print(std::string_view line) const override { - _printer.print(line); - } - Printer_T & _printer; - }; - - std::unique_ptr< model > _impl; -}; - namespace conv { enum class Error { OutOfRange, NotANumber };