Skip to content

Commit

Permalink
Preprocessor: used emplace_back in one place
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Aug 29, 2017
1 parent f2647c4 commit 13eff8c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/serialization/preprocessor.cpp
Expand Up @@ -798,8 +798,7 @@ preprocessor_data::preprocessor_data(preprocessor_streambuf& t,

void preprocessor_data::push_token(token_desc::TOKEN_TYPE t)
{
token_desc token(t, strings_.size(), linenum_);
tokens_.push_back(token);
tokens_.emplace_back(t, strings_.size(), linenum_);

if(t == token_desc::MACRO_SPACE) {
// Macro expansions do not have any associated storage at start.
Expand Down

0 comments on commit 13eff8c

Please sign in to comment.