Commit 746b8736 for tesseract

commit 746b87363bbe5754d501afa210c4162df07350a7
Author: Egor Pugin <egor.pugin@gmail.com>
Date:   Tue Apr 6 23:45:22 2021 +0300

    Remove unused methods.

diff --git a/src/ccutil/elst.h b/src/ccutil/elst.h
index 3f5b1eba..500e5db4 100644
--- a/src/ccutil/elst.h
+++ b/src/ccutil/elst.h
@@ -896,34 +896,20 @@ ELISTIZEH_C.
     CLASSNAME *data() {                                                            \
       return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::data());                \
     }                                                                              \
-                                                                                   \
     CLASSNAME *data_relative(int8_t offset) {                                      \
       return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::data_relative(offset)); \
     }                                                                              \
-                                                                                   \
     CLASSNAME *forward() {                                                         \
       return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::forward());             \
     }                                                                              \
-                                                                                   \
     CLASSNAME *extract() {                                                         \
       return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::extract());             \
-    }                                                                              \
-                                                                                   \
-    CLASSNAME *move_to_first() {                                                   \
-      return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::move_to_first());       \
-    }                                                                              \
-                                                                                   \
-    CLASSNAME *move_to_last() {                                                    \
-      return reinterpret_cast<CLASSNAME *>(ELIST_ITERATOR::move_to_last());        \
     }                                                                              \
   };

 #define ELISTIZEH(CLASSNAME) \
-                             \
   ELISTIZEH_A(CLASSNAME)     \
-                             \
   ELISTIZEH_B(CLASSNAME)     \
-                             \
   ELISTIZEH_C(CLASSNAME)

 /***********************************************************************
diff --git a/src/ccutil/elst2.h b/src/ccutil/elst2.h
index 67b3e429..86972931 100644
--- a/src/ccutil/elst2.h
+++ b/src/ccutil/elst2.h
@@ -915,41 +915,26 @@ ELIST2IZEH_C.
     CLASSNAME *data() {                                                             \
       return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::data());                \
     }                                                                               \
-                                                                                    \
     CLASSNAME *data_relative(int8_t offset) {                                       \
       return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::data_relative(offset)); \
     }                                                                               \
-                                                                                    \
     CLASSNAME *forward() {                                                          \
       return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::forward());             \
     }                                                                               \
-                                                                                    \
     CLASSNAME *backward() {                                                         \
       return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::backward());            \
     }                                                                               \
-                                                                                    \
     CLASSNAME *extract() {                                                          \
       return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::extract());             \
     }                                                                               \
                                                                                     \
-    CLASSNAME *move_to_first() {                                                    \
-      return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::move_to_first());       \
-    }                                                                               \
-                                                                                    \
-    CLASSNAME *move_to_last() {                                                     \
-      return reinterpret_cast<CLASSNAME *>(ELIST2_ITERATOR::move_to_last());        \
-    }                                                                               \
-                                                                                    \
   private:                                                                          \
     CLASSNAME##_IT();                                                               \
   };

 #define ELIST2IZEH(CLASSNAME) \
-                              \
   ELIST2IZEH_A(CLASSNAME)     \
-                              \
   ELIST2IZEH_B(CLASSNAME)     \
-                              \
   ELIST2IZEH_C(CLASSNAME)

 /***********************************************************************