aboutsummaryrefslogtreecommitdiffstats
path: root/src/vmime/base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmime/base.cpp')
-rw-r--r--src/vmime/base.cpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/vmime/base.cpp b/src/vmime/base.cpp
index 9f9a87be..395d7b32 100644
--- a/src/vmime/base.cpp
+++ b/src/vmime/base.cpp
@@ -1,6 +1,6 @@
//
// VMime library (http://www.vmime.org)
-// Copyright (C) 2002-2013 Vincent Richard <[email protected]>
+// Copyright (C) 2002 Vincent Richard <[email protected]>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License as
@@ -48,8 +48,7 @@
#endif
-namespace vmime
-{
+namespace vmime {
/** "Null" (empty) string.
@@ -108,8 +107,8 @@ nullPtrType null;
// Line length limits
-namespace lineLengthLimits
-{
+namespace lineLengthLimits {
+
const size_t infinite = std::numeric_limits <size_t>::max();
}
@@ -134,12 +133,10 @@ const size_t npos = std::numeric_limits <size_t>::max();
// constructor, for example).
//
-class initializer
-{
-public:
+struct initializer {
+
+ initializer() {
- initializer()
- {
parsingContext::getDefaultContext();
generationContext::getDefaultContext();