summaryrefslogtreecommitdiff
path: root/src/lib/font.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-05-11 13:44:57 +0200
committerCarl Hetherington <cth@carlh.net>2023-05-12 22:11:06 +0200
commit8eedbed6e1f5b59e9714d7f857f486d8cf5f9434 (patch)
tree98116bad4d80b9a5fd21baca65f92bfe2c03478d /src/lib/font.h
parentd42d9740f542ac93f21b21ec9fab8558f9e87037 (diff)
Allow copy-construction of Font.
Diffstat (limited to 'src/lib/font.h')
-rw-r--r--src/lib/font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/font.h b/src/lib/font.h
index 0afd873e1..12a14aba4 100644
--- a/src/lib/font.h
+++ b/src/lib/font.h
@@ -54,6 +54,9 @@ public:
_content.data = data;
}
+ Font(Font const& other);
+ Font& operator=(Font const& other);
+
void as_xml (xmlpp::Node* node);
std::string id () const {