mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-22 18:13:42 +08:00
Remove unused code.
This commit is contained in:
parent
58c52dbce6
commit
7c7dd1d889
@ -23,12 +23,9 @@
|
||||
|
||||
namespace tesseract {
|
||||
|
||||
constexpr ERRCODE SERIALISE_LINKS("Attempted to (de)serialise a link element");
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
||||
constexpr ERRCODE NO_LIST("Iterator not set to a list");
|
||||
constexpr ERRCODE NULL_OBJECT("List found this = nullptr!");
|
||||
constexpr ERRCODE NULL_DATA("List would have returned a nullptr data pointer");
|
||||
constexpr ERRCODE NULL_CURRENT("List current position is nullptr");
|
||||
constexpr ERRCODE NULL_NEXT("Next element on the list is nullptr");
|
||||
|
@ -29,14 +29,6 @@
|
||||
|
||||
namespace tesseract {
|
||||
|
||||
/***********************************************************************
|
||||
QUOTE_IT MACRO DEFINITION
|
||||
===========================
|
||||
Replace <parm> with "<parm>". <parm> may be an arbitrary number of tokens
|
||||
***********************************************************************/
|
||||
|
||||
#define QUOTE_IT(parm) #parm
|
||||
|
||||
// Return number of elements of an array.
|
||||
template <typename T, size_t N>
|
||||
constexpr size_t countof(T const (&)[N]) noexcept {
|
||||
|
Loading…
Reference in New Issue
Block a user