use emplace_back
This commit is contained in:
parent
154da7b5c0
commit
e586829452
|
@ -187,7 +187,7 @@ void BarAnalyzer::analyze(QPainter& p, const Scope& s, bool new_frame) {
|
||||||
gradient(), y2 * kColumnWidth, height() - y2, kColumnWidth, y2,
|
gradient(), y2 * kColumnWidth, height() - y2, kColumnWidth, y2,
|
||||||
Qt::CopyROP );*/
|
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
|
// set roof parameters for the NEXT draw
|
||||||
if (roofVelocityVector_[i] != 0) {
|
if (roofVelocityVector_[i] != 0) {
|
||||||
|
|
Loading…
Reference in New Issue