diff options
author | 2012-07-24 22:31:31 -0700 | |
---|---|---|
committer | 2012-07-24 22:32:11 -0700 | |
commit | 62c49f13cee4d051e2c840133be1fab48ddf2b68 (patch) | |
tree | 1c35d7cc49a2986f24b378f31447c5eb21056480 /builtin.cpp | |
parent | eba75dbc2edd424f22f03eea463d71e135afa3c8 (diff) |
Switch from std::list to std::vector in a few places to reduce compiled code size
Diffstat (limited to 'builtin.cpp')
-rw-r--r-- | builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.cpp b/builtin.cpp index 401f4c0c..4eb88ba1 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -142,7 +142,7 @@ struct io_stack_elem_t { wcstring out; wcstring err; }; -static std::stack<io_stack_elem_t> io_stack; +static std::stack<io_stack_elem_t, std::vector<io_stack_elem_t> > io_stack; /** The file from which builtin functions should attempt to read, use |