lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use vectors rather than lists for skylines. (issue 583750043 by addr


From: jonas . hahnfeld
Subject: Re: Use vectors rather than lists for skylines. (issue 583750043 by address@hidden)
Date: Sun, 26 Apr 2020 04:28:19 -0700

Looks good with respect to using auto. One question inline, might be a
missing reference.


https://codereview.appspot.com/583750043/diff/557770050/lily/skyline.cc
File lily/skyline.cc (right):

https://codereview.appspot.com/583750043/diff/557770050/lily/skyline.cc#newcode584
lily/skyline.cc:584: for (auto const b : buildings_)
I think this will do a copy of every building. Did you actually want to
use
for (auto const &b : buildings_)
?

https://codereview.appspot.com/583750043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]