summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-17 21:26:33 +0200
committerDavid Robillard <d@drobilla.net>2019-10-17 21:26:33 +0200
commit6c5e9239ddea044bf3a3122f0664f1aec7bab668 (patch)
tree25fe33a5d46a592c2fd0acb33c33e1d12fc98407
parentfcce65c3318307febb0fba54f1ec7138b369f14b (diff)
downloadingen-6c5e9239ddea044bf3a3122f0664f1aec7bab668.tar.gz
ingen-6c5e9239ddea044bf3a3122f0664f1aec7bab668.tar.bz2
ingen-6c5e9239ddea044bf3a3122f0664f1aec7bab668.zip
Add missing copy constructor
-rw-r--r--ingen/Resource.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ingen/Resource.hpp b/ingen/Resource.hpp
index eb624e07..cc1f5db0 100644
--- a/ingen/Resource.hpp
+++ b/ingen/Resource.hpp
@@ -46,6 +46,8 @@ public:
, _uri(uri)
{}
+ Resource(const Resource& resource) = default;
+
Resource& operator=(const Resource& rhs) {
assert(&rhs._uris == &_uris);
if (&rhs != this) {