aboutsummaryrefslogtreecommitdiffstats
path: root/src/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/base.cpp b/src/base.cpp
index f7985376..9f9a87be 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -86,7 +86,7 @@ const string libapi() { return (VMIME_API); }
// New line sequence to be used when folding header fields.
const string NEW_LINE_SEQUENCE = "\r\n ";
-const string::size_type NEW_LINE_SEQUENCE_LENGTH = 1; // space
+const size_t NEW_LINE_SEQUENCE_LENGTH = 1; // space
/** The CR-LF sequence.
*/
@@ -110,10 +110,13 @@ nullPtrType null;
// Line length limits
namespace lineLengthLimits
{
- const string::size_type infinite = std::numeric_limits <string::size_type>::max();
+ const size_t infinite = std::numeric_limits <size_t>::max();
}
+const size_t npos = std::numeric_limits <size_t>::max();
+
+
#ifndef VMIME_BUILDING_DOC