From bc23a6bb05705d5551117528dfcbfcfedfee4c90 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Jan 2014 19:42:04 +0100 Subject: tag/TagBuilder: overload Commit() returning a Tag object --- src/tag/TagBuilder.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/tag/TagBuilder.hxx') diff --git a/src/tag/TagBuilder.hxx b/src/tag/TagBuilder.hxx index 302873ee4..984261ded 100644 --- a/src/tag/TagBuilder.hxx +++ b/src/tag/TagBuilder.hxx @@ -96,6 +96,12 @@ public: */ void Commit(Tag &tag); + /** + * Create a new #Tag instance from data in this object. This + * object is empty afterwards. + */ + Tag Commit(); + /** * Create a new #Tag instance from data in this object. The * returned object is owned by the caller. This object is -- cgit v1.2.3