[Audacity-devel] Two GitHub PRs
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Ian M. <Ian...@ie...> - 2021-04-22 17:04:13
|
I have recently made two GitHub PRs ( https://github.com/audacity/audacity/pull/816 and https://github.com/audacity/audacity/pull/818) that I would like for someone to review + hopefully merge. The first (#816) cleans up two different warning types that are enabled by the default build flags in Fedora. The Wreorder warnings are simply just about initializer lists with an order different from the class layout - so it is easily fixed by reordering the initializer list. The second is about calls to std::move that penalize the compiler from doing NRVA, and these are fixed by removing those calls and letting the compiler optimize away the move/copy and construct the value in-place. The second PR (#818) fixes a type difference between the declaration and definition for a function in mod-script-pipe module - the second argument was either an int or size_t (which aren't always the same). This PR makes the second argument a size_t everywhere. Thanks, -Ian |