summaryrefslogtreecommitdiff
path: root/lily/include
diff options
context:
space:
mode:
authorBenkő Pál <benko.pal@gmail.com>2012-09-01 15:25:33 +0200
committerBenkő Pál <benko.pal@gmail.com>2012-09-11 20:38:24 +0200
commit316403d38136ceadaa8d4b69f696acb76daa2c00 (patch)
treee02a44b2cb958b4091c9ef052d7867b10a5cdfa6 /lily/include
parent60b7eedd586ad8f52e4aafdf68d600409769edf5 (diff)
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)? *;' .
Diffstat (limited to 'lily/include')
-rw-r--r--lily/include/constrained-breaking.hh2
-rw-r--r--lily/include/skyline.hh2
2 files changed, 2 insertions, 2 deletions
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<Building> *, list<Building> *,
- list<Building> *const result) const;
+ list<Building> *result) const;
list<Building> internal_build_skyline (list<Building> *) const;
Real internal_distance (Skyline const &, Real horizon_padding, Real *touch_point) const;
Real internal_distance (Skyline const &, Real *touch_point) const;