Skip to content

Commit

Permalink
Remove unneeded include statement for genericvector.h
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Jan 23, 2021
1 parent 71fb535 commit 139d127
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 10 deletions.
7 changes: 4 additions & 3 deletions src/ccutil/tessdatamanager.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@
#ifndef TESSERACT_CCUTIL_TESSDATAMANAGER_H_
#define TESSERACT_CCUTIL_TESSDATAMANAGER_H_

#include <string>
#include "genericvector.h"
#include "strngs.h" // for STRING
#include "serialis.h" // FileWriter
#include <tesseract/baseapi.h> // FileReader
#include <string> // std::string
#include <vector> // std::vector

static const char kTrainedDataSuffix[] = "traineddata";

Expand Down
4 changes: 2 additions & 2 deletions src/ccutil/unicharcompress.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// place of a single large code for CJK, similarly for Indic,
// and dissection of ligatures for other scripts.
// Author: Ray Smith
// Created: Wed Mar 04 14:45:01 PST 2015
//
// (C) Copyright 2015, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -22,11 +21,12 @@
#ifndef TESSERACT_CCUTIL_UNICHARCOMPRESS_H_
#define TESSERACT_CCUTIL_UNICHARCOMPRESS_H_

#include <unordered_map>

#include "genericvector.h" // GenericVector
#include "serialis.h"
#include "strngs.h"
#include "unicharset.h"
#include <unordered_map>

namespace tesseract {

Expand Down
1 change: 0 additions & 1 deletion src/ccutil/unicharset.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "errcode.h"
#include "unicharmap.h"

#include "genericvector.h"
#include "helpers.h"
#include "serialis.h"
#include "strngs.h"
Expand Down
1 change: 0 additions & 1 deletion src/training/common/ctc.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#define TESSERACT_LSTM_CTC_H_

#include "export.h"
#include "genericvector.h"
#include "network.h"
#include "networkio.h"
#include "scrollview.h"
Expand Down
1 change: 0 additions & 1 deletion src/training/common/errorcounter.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#ifndef THIRD_PARTY_TESSERACT_CLASSIFY_ERRORCOUNTER_H_
#define THIRD_PARTY_TESSERACT_CLASSIFY_ERRORCOUNTER_H_

#include "genericvector.h"
#include "matrix.h"
#include "statistc.h"

Expand Down
1 change: 0 additions & 1 deletion src/training/unicharset/lstmtester.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <thread> // for std::thread
#include "fileio.h" // for LoadFileLinesToStrings
#include "lstmtester.h"
#include "genericvector.h"

namespace tesseract {

Expand Down
1 change: 0 additions & 1 deletion unittest/mastertrainer_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

#include "include_gunit.h"

#include "genericvector.h"
#include "log.h" // for LOG
#include "unicharset.h"
#include "errorcounter.h"
Expand Down

0 comments on commit 139d127

Please sign in to comment.