diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-01-30 18:49:20 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-01-30 18:49:20 +0100 |
commit | 0524aa4c24c97ac5f1349c8dbdcd60c4c6088174 (patch) | |
tree | 99442c1214dbcdc150ee38978b6eb661a9608418 | |
parent | 36993bfdca4fa91df4daedc3574dfb83ee3fb418 (diff) |
add const
-rw-r--r-- | src/Panorama.H | 2 | ||||
-rw-r--r-- | src/Panorama.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Panorama.H b/src/Panorama.H index d6fedcd..cb6327b 100644 --- a/src/Panorama.H +++ b/src/Panorama.H @@ -41,7 +41,7 @@ class Panorama { double alpha(const Hill *m); - double nick(Hill *m); + double nick(const Hill *m); double comp_center_angle(double alph_a, double alph_b, double d1, double d2); diff --git a/src/Panorama.cxx b/src/Panorama.cxx index 7d357f1..0b99282 100644 --- a/src/Panorama.cxx +++ b/src/Panorama.cxx @@ -430,7 +430,7 @@ Panorama::alpha(const Hill *m) { double -Panorama::nick(Hill *m) { +Panorama::nick(const Hill *m) { double a, b, c; double beta; |