diff --git a/winixd/templates/htmltextstream.h b/winixd/templates/htmltextstream.h
index 3f3757a..9bdc3fd 100644
--- a/winixd/templates/htmltextstream.h
+++ b/winixd/templates/htmltextstream.h
@@ -5,7 +5,7 @@
*/
/*
- * Copyright (c) 2010-2021, Tomasz Sowa
+ * Copyright (c) 2010-2022, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -81,9 +81,8 @@ class HtmlTextStream : public pt::Stream
public:
typedef wchar_t char_type;
- typedef pt::WTextStream::buffer_type buffer_type;
- typedef typename buffer_type::iterator iterator;
- typedef typename buffer_type::const_iterator const_iterator;
+ typedef pt::WTextStream::iterator iterator;
+ typedef pt::WTextStream::const_iterator const_iterator;
HtmlTextStream();