aboutsummaryrefslogtreecommitdiffstats
path: root/examples/example7.cpp
diff options
context:
space:
mode:
authortholdawa <[email protected]>2014-01-16 19:51:51 +0100
committertholdawa <[email protected]>2014-01-16 19:51:51 +0100
commit280b2599308a491e12fbbac95d356358cf01abb9 (patch)
treea5255e92c0da2269bad1a8e6d38cd20f1c573e22 /examples/example7.cpp
parentC++11 std::shared_ptr fixes: (diff)
parentMerge pull request #65 from kisli/tholdawa-master (diff)
downloadvmime-280b2599308a491e12fbbac95d356358cf01abb9.tar.gz
vmime-280b2599308a491e12fbbac95d356358cf01abb9.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'examples/example7.cpp')
-rw-r--r--examples/example7.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/example7.cpp b/examples/example7.cpp
index 241b4d33..e69f65f3 100644
--- a/examples/example7.cpp
+++ b/examples/example7.cpp
@@ -32,6 +32,8 @@
//
#include <iostream>
+#include <locale>
+#include <clocale>
#include "vmime/vmime.hpp"
#include "vmime/platforms/posix/posixHandler.hpp"
@@ -39,9 +41,6 @@
int main()
{
- // VMime initialization
- vmime::platform::setHandler<vmime::platforms::posix::posixHandler>();
-
// Enumerate encoders
vmime::shared_ptr <vmime::utility::encoder::encoderFactory> ef =
vmime::utility::encoder::encoderFactory::getInstance();