diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 10:48:43 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 12:51:07 +0200 |
commit | c17ac70512d473fa6ab6b2f4c9fb0bd4e716d3c6 (patch) | |
tree | d02eb9953457d553fa41395960e7d70d34b3898f /src/server | |
parent | 3f807fae50037ffcc0b69f3cd6b16a7f7d88af87 (diff) | |
download | ingen-c17ac70512d473fa6ab6b2f4c9fb0bd4e716d3c6.tar.gz ingen-c17ac70512d473fa6ab6b2f4c9fb0bd4e716d3c6.tar.bz2 ingen-c17ac70512d473fa6ab6b2f4c9fb0bd4e716d3c6.zip |
Fix return-std-move-in-c++11 warning
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/LV2Block.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/LV2Block.cpp b/src/server/LV2Block.cpp index bc6561d3..15c66a2c 100644 --- a/src/server/LV2Block.cpp +++ b/src/server/LV2Block.cpp @@ -730,7 +730,7 @@ LV2Block::save_preset(const URI& uri, lilv_world_load_bundle(lworld, lbundle); lilv_node_free(lbundle); - return preset; + return {preset}; } return boost::optional<Resource>(); |