From 0524aa4c24c97ac5f1349c8dbdcd60c4c6088174 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 30 Jan 2008 18:49:20 +0100 Subject: add const --- src/Panorama.H | 2 +- 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; -- cgit v1.2.3