projects
/
libcxml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use return {}.
[libcxml.git]
/
src
/
cxml.h
diff --git
a/src/cxml.h
b/src/cxml.h
index 4fccbaed68c8687b44d5397bb8eaa4d82b60ece8..330cbb0aed9072f33d5927dfc0acbe021fa54598 100644
(file)
--- 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 ();