modernize C++: use using

This commit is contained in:
wmayer
2023-08-06 19:09:49 +02:00
committed by wwmayer
parent 4701ff89e0
commit 89d529ab7b
8 changed files with 41 additions and 16 deletions

View File

@@ -45,8 +45,8 @@ using namespace zipios;
// It does not check if the character is valid utf8 or not.
struct cdata_filter {
typedef char char_type;
typedef boost::iostreams::output_filter_tag category;
using char_type = char;
using category = boost::iostreams::output_filter_tag;
template<typename Device>
inline bool put(Device& dev, char c) {