Skip to content

Commit

Permalink
Remove unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Feb 6, 2022
1 parent 58c52db commit 7c7dd1d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions src/ccutil/lsterr.h
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
8 changes: 0 additions & 8 deletions src/ccutil/serialis.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7c7dd1d

Please sign in to comment.