From 627dfd9a5cdcce9e4122ef3041a38c3da2d3a120 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 27 Sep 2020 19:32:15 +0200 Subject: 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. --- src/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 959cbbca..07e4f782 100644 --- a/src/util.h +++ b/src/util.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2014 Carl Hetherington + Copyright (C) 2012-2020 Carl Hetherington This file is part of libdcp. @@ -68,7 +68,7 @@ extern std::string make_digest (Data data); extern bool empty_or_white_space (std::string s); extern bool ids_equal (std::string a, std::string b); extern std::string remove_urn_uuid (std::string raw); -extern void init (); +extern void init (boost::optional tags_directory = boost::optional()); extern int base64_decode (std::string const & in, unsigned char* out, int out_length); extern boost::optional relative_to_root (boost::filesystem::path root, boost::filesystem::path file); -- cgit v1.2.3