use emplace_back

This commit is contained in:
narunlifescience 2015-11-24 03:44:33 -06:00
parent 154da7b5c0
commit e586829452
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ void BarAnalyzer::analyze(QPainter& p, const Scope& s, bool new_frame) {
gradient(), y2 * kColumnWidth, height() - y2, kColumnWidth, y2,
Qt::CopyROP );*/
roofMem_[i].push_back(height() - roofVector_[i] - 2);
roofMem_[i].emplace_back(height() - roofVector_[i] - 2);
// set roof parameters for the NEXT draw
if (roofVelocityVector_[i] != 0) {