Commit e78f9e4d authored by hjk's avatar hjk Committed by hjk
Browse files

preprocessor: used std::deque instead of std::list for token buffer



Change-Id: I56b1ee492469c523266337a885f664dea5deab98
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent acf6f8f0
......@@ -71,6 +71,8 @@
# include <iostream>
#endif // NO_DEBUG
#include <deque>
namespace {
enum {
eagerExpansion = 1,
......@@ -108,7 +110,7 @@ namespace CPlusPlus {
namespace Internal {
struct TokenBuffer
{
std::list<PPToken> tokens;
std::deque<PPToken> tokens;
const Macro *macro;
TokenBuffer *next;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment