GNOME Bugzilla – Bug 788814
gparted-0.30.0/include/HBoxOperations.h:37]: performance problem
Last modified: 2019-05-29 17:06:36 UTC
gparted-0.30.0/include/HBoxOperations.h:37]: (performance) Function parameter 'operations' should be passed by reference. Source code is void load_operations( const std::vector<Operation *> operations ) ; More usual code would be void load_operations( const std::vector<Operation *> & operations ) ;
Created attachment 374215 [details] [review] Pass constant parameter by reference to load_operations() (v1) Hi Curtis, Here's a patch for this minor issue. Thanks, Mike
Hi Mike, These code changes look good to me. If no concerns are raised then I will commit these changes to the git master branch in the next day or so. Thanks, Curtis
This patch has been committed to the git master branch for inclusion in the next release of GParted. The relevant git commit can be viewed at the following link: Pass constant parameter by reference to load_operations() (#788814) https://gitlab.gnome.org/GNOME/gparted/commit/97ce96da033358c69285dd76e5ae2ae73ac838a3
This enhancement was included in the GParted 1.0.0 release on May 29, 2019.