]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
interval_set: predeclare const_iterator
authorSage Weil <sage.weil@dreamhost.com>
Fri, 24 Aug 2012 21:55:12 +0000 (14:55 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Fri, 24 Aug 2012 21:55:41 +0000 (14:55 -0700)
This makes the coverity build happier.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/include/interval_set.h

index bfc62a96d1b1fc951fef203cac9ae9c1f695597f..7affb87ab7d7173e9afb60296dd792c55eb2f009 100644 (file)
@@ -34,6 +34,9 @@ using namespace std;
 template<typename T>
 class interval_set {
  public:
+
+  class const_iterator;
+
   class iterator : public std::iterator <std::forward_iterator_tag, T>
   {
     public: