Skip to content

Commit

Permalink
emplace_back does not work, since some types cannot be constructed di…
Browse files Browse the repository at this point in the history
…rectly from a Php::Value
  • Loading branch information
Martijn Otto committed Oct 22, 2014
1 parent a2a3b8e commit 6b2eaeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ class Value : private HashParent
if (!contains(i)) continue;

// get the value and add it to the vector
result.emplace_back(get(i));
result.push_back(get(i));
}

// done
Expand Down

0 comments on commit 6b2eaeb

Please sign in to comment.