From 92cf4f1e48a90d8622f237a732b08487e0cde46c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 27 Sep 2022 18:35:31 -0400 Subject: Use braced init lists to avoid repeating return types --- src/URI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/URI.cpp') diff --git a/src/URI.cpp b/src/URI.cpp index 339ca07c..cc40a9a3 100644 --- a/src/URI.cpp +++ b/src/URI.cpp @@ -125,7 +125,7 @@ URI::make_relative(const URI& base) const { SerdURI uri; SerdNode node = serd_node_new_relative_uri(&_uri, &base._uri, nullptr, &uri); - return URI(node, uri); + return {node, uri}; } } // namespace ingen -- cgit v1.2.1