[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
remove top-level const's from declarations (issue 6501096)
From: |
benko . pal |
Subject: |
remove top-level const's from declarations (issue 6501096) |
Date: |
Thu, 06 Sep 2012 19:20:57 +0000 |
Reviewers: ,
Message:
following up
http://codereview.appspot.com/6477062/#msg5
Description:
remove top-level const's from declarations
Please review this at http://codereview.appspot.com/6501096/
Affected files:
M flower/include/file-name.hh
M lily/include/constrained-breaking.hh
M lily/include/skyline.hh
Index: flower/include/file-name.hh
diff --git a/flower/include/file-name.hh b/flower/include/file-name.hh
index
3e9c6d5294082689709f2d4dbca6675e02b514c0..b30dd9cd5b6d8f89ccb1e586a5ca3f3a8e595d1c
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
Index: lily/include/constrained-breaking.hh
diff --git a/lily/include/constrained-breaking.hh
b/lily/include/constrained-breaking.hh
index
731e20c1e3dca00feab28d8e4ce9ed3af1ffc0fe..cb4c4f70be28a7ac56e72e8e98291b6bf7d62b14
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 */
Index: lily/include/skyline.hh
diff --git a/lily/include/skyline.hh b/lily/include/skyline.hh
index
e6cd030627dd746dfcdfee8739590441d768bca9..0cb9fdcc81f5f23474f28c0ac2fbd16b713180aa
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;
- remove top-level const's from declarations (issue 6501096),
benko . pal <=