diff options
author | David Robillard <d@drobilla.net> | 2022-09-27 18:35:31 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-09-27 18:36:33 -0400 |
commit | 92cf4f1e48a90d8622f237a732b08487e0cde46c (patch) | |
tree | 9b9cdeeb50b14bf8d64e2c6e914573303a7cc61c /src/URI.cpp | |
parent | 3ae3c86937c7ffc45d24e36a33560cd63ebb900b (diff) | |
download | ingen-92cf4f1e48a90d8622f237a732b08487e0cde46c.tar.gz ingen-92cf4f1e48a90d8622f237a732b08487e0cde46c.tar.bz2 ingen-92cf4f1e48a90d8622f237a732b08487e0cde46c.zip |
Use braced init lists to avoid repeating return types
Diffstat (limited to 'src/URI.cpp')
-rw-r--r-- | src/URI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |