From 24cffd138886ef99a186281e0bf6cc4f8c21d670 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 2 Nov 2009 13:40:26 +0100 Subject: Remove bidirectionality from radius_iterator. This wasn't used anywhere and could easily be restored if required. --- crawl-ref/source/coordit.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'crawl-ref/source/coordit.h') diff --git a/crawl-ref/source/coordit.h b/crawl-ref/source/coordit.h index b7323bbef8..ecf57fad53 100644 --- a/crawl-ref/source/coordit.h +++ b/crawl-ref/source/coordit.h @@ -19,7 +19,7 @@ private: coord_def current, topleft, bottomright; }; -class radius_iterator : public std::iterator { public: @@ -35,12 +35,9 @@ public: const coord_def* operator->() const; const radius_iterator& operator ++ (); - const radius_iterator& operator -- (); radius_iterator operator ++ (int); - radius_iterator operator -- (int); private: void step(); - void step_back(); bool on_valid_square() const; coord_def location, center; @@ -59,4 +56,3 @@ public: }; #endif - -- cgit v1.2.3-54-g00ecf