From 795b049f4a167677a8a2d39a4a09e8f5c2bb8dca Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 28 Dec 2014 02:41:13 +0000 Subject: More tests. --- src/interop_load_font.cc | 2 +- src/interop_load_font.h | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/interop_load_font.cc b/src/interop_load_font.cc index c40d64c4..dede5696 100644 --- a/src/interop_load_font.cc +++ b/src/interop_load_font.cc @@ -32,7 +32,7 @@ InteropLoadFont::InteropLoadFont (string id_, string uri_) } -InteropLoadFont::InteropLoadFont (shared_ptr node) +InteropLoadFont::InteropLoadFont (cxml::ConstNodePtr node) { optional x = node->optional_string_attribute ("Id"); if (!x) { diff --git a/src/interop_load_font.h b/src/interop_load_font.h index 61f63ffb..c553b557 100644 --- a/src/interop_load_font.h +++ b/src/interop_load_font.h @@ -17,13 +17,10 @@ */ +#include #include #include -namespace cxml { - class Node; -} - namespace dcp { class InteropLoadFont @@ -31,7 +28,7 @@ class InteropLoadFont public: InteropLoadFont () {} InteropLoadFont (std::string id, std::string uri); - InteropLoadFont (boost::shared_ptr node); + InteropLoadFont (cxml::ConstNodePtr node); std::string id; std::string uri; -- cgit v1.2.3