From 121d2f92cb88d12591197f276a98e2972b222658 Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 1 Jun 1999 21:16:33 +0000 Subject: [PATCH] Fixed an IRIX warning message where an inline function is referenced before it is defined. --- Lib/Bucket/newbucket.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Lib/Bucket/newbucket.hxx b/Lib/Bucket/newbucket.hxx index 743c81d6..c037f9dc 100644 --- a/Lib/Bucket/newbucket.hxx +++ b/Lib/Bucket/newbucket.hxx @@ -282,18 +282,18 @@ inline double FGBucket::get_center_lon() const { } -// return width of the tile -inline double FGBucket::get_width() const { - return bucket_span( get_center_lat() ); -} - - // return the center lat of a tile inline double FGBucket::get_center_lat() const { return lat + y / 8.0 + FG_HALF_BUCKET_SPAN; } +// return width of the tile +inline double FGBucket::get_width() const { + return bucket_span( get_center_lat() ); +} + + // return height of the tile inline double FGBucket::get_height() const { return FG_BUCKET_SPAN; -- 2.39.5