summaryrefslogtreecommitdiff
path: root/src/cxml.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-08 14:13:01 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-08 14:13:41 +0100
commit4ad7c9c1ad624fc811ad1b0c34e62657f1f59998 (patch)
tree253008e0c32d97ac697ed69770041523b9a30a69 /src/cxml.h
parentdbcf32baf0af10eeaac33460dd617bf1de3075ca (diff)
Use return {}.v0.17.0
Diffstat (limited to 'src/cxml.h')
-rw-r--r--src/cxml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxml.h b/src/cxml.h
index 4fccbae..330cbb0 100644
--- a/src/cxml.h
+++ b/src/cxml.h
@@ -164,7 +164,7 @@ public:
{
auto s = optional_string_child (c);
if (!s) {
- return boost::optional<T> ();
+ return {};
}
auto t = s.get ();