From 59cbdd818dc3397a823a37e9821fd32f4522b2fc Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Tue, 15 Nov 2022 10:02:27 -0800 Subject: Switch from `typedef` to `using` in C++ code. NFC (#5258) This is more modern and (IMHO) easier to read than that old C typedef syntax. --- src/emscripten-optimizer/parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emscripten-optimizer/parser.h') diff --git a/src/emscripten-optimizer/parser.h b/src/emscripten-optimizer/parser.h index 8c3f36427..f1d472863 100644 --- a/src/emscripten-optimizer/parser.h +++ b/src/emscripten-optimizer/parser.h @@ -426,7 +426,7 @@ template class Parser { // This is a list of the current stack of node-operator-node-operator-etc. // this works by each parseExpression call appending to the vector; then // recursing out, and the toplevel sorts it all - typedef std::vector ExpressionParts; + using ExpressionParts = std::vector; std::vector expressionPartsStack; // Parses an element in a list of such elements, e.g. list of statements in a -- cgit v1.2.3