summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/event_type_map.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-08 01:34:42 -0500
committerDavid Robillard <d@drobilla.net>2015-03-08 01:36:53 -0500
commitb35504a71eb9fe58201745a5d6331612f9da4766 (patch)
tree02b2f09f72142129658e7264ab0019174c95883c /libs/ardour/ardour/event_type_map.h
parent80bb72bbe2c868d14a352b58d028a771253c59b5 (diff)
Fix compilation with --no-lv2 (#0006169).
Not that I condone such backwards behaviour. (Different issue in the ticket, but it was still broken at link time).
Diffstat (limited to 'libs/ardour/ardour/event_type_map.h')
-rw-r--r--libs/ardour/ardour/event_type_map.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/ardour/event_type_map.h b/libs/ardour/ardour/event_type_map.h
index 8110a28f9d..d7adfa8f62 100644
--- a/libs/ardour/ardour/event_type_map.h
+++ b/libs/ardour/ardour/event_type_map.h
@@ -54,14 +54,12 @@ public:
void set_descriptor(const Evoral::Parameter& param,
const Evoral::ParameterDescriptor& desc);
- URIMap& uri_map() { return _uri_map; }
-
private:
typedef std::map<Evoral::Parameter, Evoral::ParameterDescriptor> Descriptors;
- EventTypeMap(URIMap& uri_map) : _uri_map(uri_map) {}
+ EventTypeMap(URIMap* uri_map) : _uri_map(uri_map) {}
- URIMap& _uri_map;
+ URIMap* _uri_map;
Descriptors _descriptors;
static EventTypeMap* event_type_map;