File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (C) 2020 Red Hat, Inc.
2
+ * Copyright (C) 2020-2023 Red Hat, Inc.
3
3
*
4
4
* This file is part of csdiff.
5
5
*
@@ -49,8 +49,8 @@ bool AbstractCsvParser::parse(InStream &ins)
49
49
std::string line;
50
50
for (d->lineno = 1 ; std::getline (str, line); d->lineno ++) {
51
51
// initialize tokenizer
52
- typedef boost::escaped_list_separator<char > TSeparator ;
53
- typedef boost::tokenizer<TSeparator> TTokenizer ;
52
+ using TSeparator = boost::escaped_list_separator<char >;
53
+ using TTokenizer = boost::tokenizer<TSeparator>;
54
54
TTokenizer tok (line);
55
55
56
56
// break the current line into fields
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (C) 2020 Red Hat, Inc.
2
+ * Copyright (C) 2020-2023 Red Hat, Inc.
3
3
*
4
4
* This file is part of csdiff.
5
5
*
@@ -36,7 +36,7 @@ class AbstractCsvParser {
36
36
}
37
37
38
38
protected:
39
- typedef std::vector<std::string> TStringList ;
39
+ using TStringList = std::vector<std::string>;
40
40
41
41
virtual bool /* continue */ handleLine(const TStringList &) = 0 ;
42
42
void parseError (const std::string &msg);
You can’t perform that action at this time.
0 commit comments