summaryrefslogtreecommitdiff
path: root/src/lib/image_proxy.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-02-06 10:58:39 +0100
committerCarl Hetherington <cth@carlh.net>2024-02-22 22:46:02 +0100
commit6d95d9689831a74fade32038a808f206c03d8aa2 (patch)
treeb2d8fb562fd0da399f7d259fc82c1760b22a9402 /src/lib/image_proxy.h
parent3ffd0163026be24e5373e0674c3301ed37546e44 (diff)
FIXME: Remove all use of add_child() from xmlpp.no-add-child
Needs bump of libcxml.
Diffstat (limited to 'src/lib/image_proxy.h')
-rw-r--r--src/lib/image_proxy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/image_proxy.h b/src/lib/image_proxy.h
index a37be580f..cec13b773 100644
--- a/src/lib/image_proxy.h
+++ b/src/lib/image_proxy.h
@@ -41,7 +41,7 @@ class Image;
class Socket;
namespace xmlpp {
- class Node;
+ class Element;
}
namespace cxml {
@@ -101,7 +101,7 @@ public:
boost::optional<dcp::Size> size = boost::optional<dcp::Size> ()
) const = 0;
- virtual void add_metadata (xmlpp::Node *) const = 0;
+ virtual void add_metadata(xmlpp::Element *) const = 0;
virtual void write_to_socket (std::shared_ptr<Socket>) const = 0;
/** @return true if our image is definitely the same as another, false if it is probably not */
virtual bool same (std::shared_ptr<const ImageProxy>) const = 0;