projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing virtual destructor.
[libdcp.git]
/
src
/
subtitle_asset.cc
diff --git
a/src/subtitle_asset.cc
b/src/subtitle_asset.cc
index 8e15ba1acffb1681a89a913af105b245e7fcec85..15ddb2a8fd57f6711986b50a0978c4dd6cde3615 100644
(file)
--- a/
src/subtitle_asset.cc
+++ b/
src/subtitle_asset.cc
@@
-22,8
+22,13
@@
#include "subtitle_asset.h"
#include "util.h"
#include "subtitle_asset.h"
#include "util.h"
-using namespace std;
-using namespace boost;
+using std::string;
+using std::list;
+using std::ostream;
+using std::ofstream;
+using std::stringstream;
+using boost::shared_ptr;
+using boost::lexical_cast;
using namespace libdcp;
SubtitleAsset::SubtitleAsset (string directory, string xml_file)
using namespace libdcp;
SubtitleAsset::SubtitleAsset (string directory, string xml_file)
@@
-396,7
+401,7
@@
SubtitleAsset::write_xml ()
/* XXX: script, underlined, weight not supported */
bool first = true;
/* XXX: script, underlined, weight not supported */
bool first = true;
- bool italic;
+ bool italic
= false
;
Color color;
int size = 0;
Effect effect = NONE;
Color color;
int size = 0;
Effect effect = NONE;