summaryrefslogtreecommitdiff
path: root/src/iso6937.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-07 19:33:54 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-07 19:33:54 +0100
commit5ad33b463f977a286f69fd1c87c0db8cc8ac9e56 (patch)
tree6a9a4124990ae801412b3b474a06e551e4c9ace1 /src/iso6937.cc
parent0d022c11fd502186caef368d9cd77e095f74026c (diff)
Missing iostream includes for Arch.
Diffstat (limited to 'src/iso6937.cc')
-rw-r--r--src/iso6937.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/iso6937.cc b/src/iso6937.cc
index 47ce458..2b75116 100644
--- a/src/iso6937.cc
+++ b/src/iso6937.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -17,11 +17,12 @@
*/
-#include <string>
-#include <boost/optional.hpp>
-#include <boost/locale.hpp>
#include "iso6937_tables.h"
#include "iso6937.h"
+#include <boost/optional.hpp>
+#include <boost/locale.hpp>
+#include <string>
+#include <iostream>
using std::string;
using std::cout;
@@ -38,7 +39,7 @@ sub::iso6937_to_utf16 (string s)
if (iso6937::diacriticals.empty ()) {
make_iso6937_tables ();
}
-
+
wstring o;
boost::optional<unsigned char> diacritical;
@@ -79,7 +80,7 @@ sub::utf16_to_iso6937 (wstring s)
if (iso6937::diacriticals.empty ()) {
make_iso6937_tables ();
}
-
+
/* XXX: slow */
string o;
@@ -101,4 +102,3 @@ sub::utf16_to_iso6937 (wstring s)
return o;
}
-