summaryrefslogtreecommitdiff
path: root/tools
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 /tools
parent0d022c11fd502186caef368d9cd77e095f74026c (diff)
Missing iostream includes for Arch.
Diffstat (limited to 'tools')
-rw-r--r--tools/dumpsubs.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/dumpsubs.cc b/tools/dumpsubs.cc
index fef3885..f69ecf8 100644
--- a/tools/dumpsubs.cc
+++ b/tools/dumpsubs.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
@@ -23,6 +23,7 @@
#include <getopt.h>
#include <boost/filesystem.hpp>
#include <map>
+#include <iostream>
using std::string;
using std::cerr;
@@ -89,7 +90,7 @@ main (int argc, char* argv[])
for (list<sub::Line>::const_iterator j = i->lines.begin(); j != i->lines.end(); ++j) {
cout << "\t";
-
+
if (j->vertical_position.proportional) {
cout << j->vertical_position.proportional.get() << " of screen";
} else if (j->vertical_position.line) {
@@ -130,7 +131,7 @@ main (int argc, char* argv[])
italic = k->italic;
underline = k->underline;
-
+
cout << k->text;
}