X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Freel_interop_subtitle_asset.cc;h=5f295d53a8b12602c64732ffaa4eea859bfce6cf;hb=0d31c86d6dfad9f437f5613d41cace9cc5928474;hp=5b8cfcddfe72ae85783fd9bba70e6a013f952e0b;hpb=7d66bda50ade8ea618f331b885f1bfa4fa0a2af9;p=libdcp.git diff --git a/src/reel_interop_subtitle_asset.cc b/src/reel_interop_subtitle_asset.cc index 5b8cfcdd..5f295d53 100644 --- a/src/reel_interop_subtitle_asset.cc +++ b/src/reel_interop_subtitle_asset.cc @@ -38,7 +38,10 @@ #include "reel_interop_subtitle_asset.h" +#include "warnings.h" +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS using std::shared_ptr; @@ -60,15 +63,3 @@ ReelInteropSubtitleAsset::ReelInteropSubtitleAsset (std::shared_ptrdone (); } - -xmlpp::Node * -ReelInteropSubtitleAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const -{ - auto asset = write_to_cpl_asset (node, standard, _hash); - if (_language) { - asset->add_child("Language")->add_child_text(*_language); - } - return asset; -} - -