mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-06-11 20:53:24 +08:00
Remove unneeded include statements for string / strings.h
Tesseract code does not use strings.h (strngs.h was once called strings.h), so that dependency can also be removed from cmake and cppan configuration. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
de78ef873e
commit
0efc528684
@ -88,7 +88,6 @@ set(include_files_list
|
|||||||
stdbool.h
|
stdbool.h
|
||||||
stdint.h
|
stdint.h
|
||||||
stdlib.h
|
stdlib.h
|
||||||
strings.h
|
|
||||||
string.h
|
string.h
|
||||||
sys/ipc.h
|
sys/ipc.h
|
||||||
sys/shm.h
|
sys/shm.h
|
||||||
|
@ -105,7 +105,6 @@ projects:
|
|||||||
- stdbool.h
|
- stdbool.h
|
||||||
- stdint.h
|
- stdint.h
|
||||||
- stdlib.h
|
- stdlib.h
|
||||||
- strings.h
|
|
||||||
- string.h
|
- string.h
|
||||||
- sys/ipc.h
|
- sys/ipc.h
|
||||||
- sys/shm.h
|
- sys/shm.h
|
||||||
|
@ -21,11 +21,6 @@
|
|||||||
#define TESSERACT_CCMAIN_PARAGRAPHS_INTERNAL_H_
|
#define TESSERACT_CCMAIN_PARAGRAPHS_INTERNAL_H_
|
||||||
|
|
||||||
#include "paragraphs.h"
|
#include "paragraphs.h"
|
||||||
#ifdef _MSC_VER
|
|
||||||
#include <string>
|
|
||||||
#else
|
|
||||||
#include "strings.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// NO CODE OUTSIDE OF paragraphs.cpp AND TESTS SHOULD NEED TO ACCESS
|
// NO CODE OUTSIDE OF paragraphs.cpp AND TESTS SHOULD NEED TO ACCESS
|
||||||
// DATA STRUCTURES OR FUNCTIONS IN THIS FILE.
|
// DATA STRUCTURES OR FUNCTIONS IN THIS FILE.
|
||||||
|
Loading…
Reference in New Issue
Block a user