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/Forge.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/Forge.cpp')
-rw-r--r-- | src/Forge.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp index 6b8f7b14..abce74f2 100644 --- a/src/Forge.cpp +++ b/src/Forge.cpp @@ -35,7 +35,7 @@ Atom Forge::make_urid(const ingen::URI& u) { const LV2_URID urid = _map.map_uri(u.string()); - return Atom(sizeof(int32_t), URID, &urid); + return {sizeof(int32_t), URID, &urid}; } std::string |