tesseract/src/ccutil
Stefan Weil a7982185c9 genericvector: Pass parameters by reference
This fixes warnings like the following one from LGTM:

This parameter of type ParamsTrainingHypothesis is 112 bytes
- consider passing a pointer/reference instead.

Most parameters can also get the const attribute.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-06 19:47:49 +02:00
..
ambigs.cpp Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
ambigs.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
basedir.cpp replace deprecated C++ headers (reported by clan-tidy) - partially supersedes PR #1605 2018-09-18 18:51:11 +02:00
basedir.h Fix line endings 2018-04-25 19:04:50 +02:00
bits16.h Replace tabs by blanks in source code 2018-07-03 16:29:14 +02:00
bitvector.cpp BitVector: Use new serialization API 2018-07-18 17:07:03 +02:00
bitvector.h Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
ccutil.cpp CCUtil: Define virtual destructor in .cpp file 2018-09-04 07:44:27 +02:00
ccutil.h CCUtil: Define virtual destructor in .cpp file 2018-09-04 07:44:27 +02:00
clst.cpp Remove unneeded type casts 2018-07-04 14:23:55 +02:00
clst.h Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
doubleptr.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
elst2.cpp Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
elst2.h Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
elst.cpp Remove unneeded type casts 2018-07-04 14:23:55 +02:00
elst.h Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
errcode.cpp Don't trigger a deliberate SIGSEGV for fatal errors in release code 2018-09-20 21:50:13 +02:00
errcode.h Fix line endings 2018-04-25 19:04:50 +02:00
fileerr.h Fix line endings 2018-04-25 19:04:50 +02:00
fileio.cpp Move class tesseract::File from training to ccutil 2018-08-25 18:16:46 +02:00
fileio.h Move class tesseract::File from training to ccutil 2018-08-25 18:16:46 +02:00
genericheap.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
genericvector.h genericvector: Pass parameters by reference 2018-10-06 19:47:49 +02:00
globaloc.cpp replace deprecated C++ headers (reported by clan-tidy) - partially supersedes PR #1605 2018-09-18 18:51:11 +02:00
globaloc.h Fix line endings 2018-04-25 19:04:50 +02:00
helpers.h Clean use of qsort function sort_floats 2018-08-31 23:17:27 +02:00
host.h Replace FLOAT32 by float data type 2018-07-02 13:29:39 +02:00
indexmapbidi.cpp IndexMapBiDi: Define virtual destructor in .cpp file 2018-09-04 13:08:29 +02:00
indexmapbidi.h IndexMapBiDi: Define virtual destructor in .cpp file 2018-09-04 13:08:29 +02:00
kdpair.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
lsterr.h Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
mainblk.cpp Do not define or use macro __UNIX__ 2018-09-04 07:34:11 +02:00
Makefile.am Move class tesseract::File from training to ccutil 2018-08-25 18:16:46 +02:00
object_cache.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
ocrclass.h Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
params.cpp Don't call exit when parameter in file is unknown 2018-09-20 08:37:33 +02:00
params.h replace deprecated C++ headers (reported by clan-tidy) - partially supersedes PR #1605 2018-09-18 18:51:11 +02:00
platform.h replace deprecated C++ headers (reported by clan-tidy) - partially supersedes PR #1605 2018-09-18 18:51:11 +02:00
qrsequence.h Fix some typos (most found by codespell) 2018-05-27 18:49:43 +02:00
scanutils.cpp Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
scanutils.h scanutils: Fix typos in comments 2018-06-09 07:53:20 +02:00
serialis.cpp TFile: Add helper functions for serialization of simple data types 2018-07-18 11:19:37 +02:00
serialis.h Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
sorthelper.h Rename all C-style headers (e.g. <stdio.h>) to C++ style (<cstdio>). 2018-05-20 00:52:04 +03:00
strngs.cpp STRING: Use new serialization API 2018-07-18 17:17:22 +02:00
strngs.h Replace tabs by blanks in source code 2018-07-03 16:29:14 +02:00
tesscallback.h Format code (replace ( xxx ) by (xxx)) 2018-09-29 08:21:25 +02:00
tessdatamanager.cpp TessdataManager: Use new serialization API 2018-07-18 17:28:13 +02:00
tessdatamanager.h Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
tprintf.cpp Replace tprintf_internal by tprintf and clean tprintf code 2018-07-07 21:47:10 +02:00
tprintf.h Replace tprintf_internal by tprintf and clean tprintf code 2018-07-07 21:47:10 +02:00
unichar.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
unichar.h Replace string.h by standard C++ cstring 2018-06-21 20:40:26 +02:00
unicharcompress.cpp Use using instead of typedef. Reason: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rt-using 2018-05-20 01:31:03 +03:00
unicharcompress.h RecodedCharID: Use new serialization API 2018-07-18 16:22:01 +02:00
unicharmap.cpp Use default keyword instead of empty ctors/dtors. 2018-05-21 13:35:46 +03:00
unicharmap.h Fix line endings 2018-04-25 19:04:50 +02:00
unicharset.cpp Fix some typos (most found by codespell) 2018-05-27 18:49:43 +02:00
unicharset.h UNICHARSET: Use new serialization API 2018-07-18 16:22:02 +02:00
unicity_table.h Fix compiler warnings [-Wzero-as-null-pointer-constant] 2018-07-04 20:40:56 +02:00
unicodes.cpp Move sources into src dir. Update build scripts. 2018-04-25 11:02:54 +03:00
unicodes.h Fix line endings 2018-04-25 19:04:50 +02:00
universalambigs.cpp Fix line endings 2018-04-25 19:04:50 +02:00
universalambigs.h Fix line endings 2018-04-25 19:04:50 +02:00