From: Benkő Pál Date: Sat, 1 Sep 2012 13:25:33 +0000 (+0200) Subject: remove top-level const's from declarations X-Git-Tag: release/2.17.3-1~28 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=316403d38136ceadaa8d4b69f696acb76daa2c00;p=lilypond.git remove top-level const's from declarations results of the following searches were checked manually: grep -rE -e 'const( +[a-zA-Z0-9_]*)? *, *$' . grep -rE -e 'const( +[a-zA-Z0-9_]*)?( *,[^;]+)?\) *(const|= *0)? *;' . --- diff --git a/flower/include/file-name.hh b/flower/include/file-name.hh index 3e9c6d5294..b30dd9cd5b 100644 --- a/flower/include/file-name.hh +++ b/flower/include/file-name.hh @@ -23,7 +23,7 @@ #include "std-vector.hh" #include "std-string.hh" -std::string dir_name (std::string const file_name); +std::string dir_name (std::string file_name); std::string get_working_directory (); class File_name diff --git a/lily/include/constrained-breaking.hh b/lily/include/constrained-breaking.hh index 731e20c1e3..cb4c4f70be 100644 --- a/lily/include/constrained-breaking.hh +++ b/lily/include/constrained-breaking.hh @@ -203,6 +203,6 @@ private: Real combine_demerits (Real force, Real prev_force); bool calc_subproblem (vsize start, vsize systems, vsize max_break_index); - void fill_line_details (Line_details *const, vsize, vsize); + void fill_line_details (Line_details *, vsize, vsize); }; #endif /* CONSTRAINED_BREAKING_HH */ diff --git a/lily/include/skyline.hh b/lily/include/skyline.hh index e6cd030627..0cb9fdcc81 100644 --- a/lily/include/skyline.hh +++ b/lily/include/skyline.hh @@ -56,7 +56,7 @@ private: Direction sky_; void internal_merge_skyline (list *, list *, - list *const result) const; + list *result) const; list internal_build_skyline (list *) const; Real internal_distance (Skyline const &, Real horizon_padding, Real *touch_point) const; Real internal_distance (Skyline const &, Real *touch_point) const;