summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-27 19:32:15 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-27 19:33:09 +0200
commit627dfd9a5cdcce9e4122ef3041a38c3da2d3a120 (patch)
treea250e81f9d6b746bfbadb2428dbdea8c1ac1de6d /test
parentf3e69079eefa18407b110ff23df26f7711ebf7e5 (diff)
Load language tags from on-disk files rather than embedding them
into a .cc. The .cc method causes compile times (and memory requirements) increase enormously with some compilers.
Diffstat (limited to 'test')
-rw-r--r--test/rewrite_subs.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc
index 90718fae..724f424d 100644
--- a/test/rewrite_subs.cc
+++ b/test/rewrite_subs.cc
@@ -50,6 +50,8 @@ using namespace dcp;
int
main (int argc, char* argv[])
{
+ dcp::init ();
+
try {
if (argc < 2) {
cerr << "Syntax: " << argv[0] << " <dcp>\n";