diff options
Diffstat (limited to 'ingen/URIMap.hpp')
-rw-r--r-- | ingen/URIMap.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ingen/URIMap.hpp b/ingen/URIMap.hpp index db10241f..5b211612 100644 --- a/ingen/URIMap.hpp +++ b/ingen/URIMap.hpp @@ -49,10 +49,7 @@ public: class Feature : public LV2Features::Feature { public: - Feature(const char* URI, void* data) { - _feature.URI = URI; - _feature.data = data; - } + Feature(const char* URI, void* data) : _feature{URI, data} {} const char* uri() const override { return _feature.URI; } |