summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tesseract')
-rw-r--r--tesseract/src/ccutil/strngs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tesseract/src/ccutil/strngs.h b/tesseract/src/ccutil/strngs.h
index 2812e570..b81c3733 100644
--- a/tesseract/src/ccutil/strngs.h
+++ b/tesseract/src/ccutil/strngs.h
@@ -37,6 +37,7 @@ class STRING : public std::string {
using std::string::string;
STRING(const std::string &s) : std::string(s) {}
STRING(const char *s) : std::string(s ? s : "") {}
+ STRING() : std::string("") {}
// Writes to the given file. Returns false in case of error.
TESS_API