From 5595f3a3e43acbda31cb33e7debbdaa0f43cd4b4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 24 Jan 2014 16:23:28 +0000 Subject: Order scale points by value (fix #951). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5323 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/client/PluginModel.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ingen/client') diff --git a/ingen/client/PluginModel.hpp b/ingen/client/PluginModel.hpp index 2819c8cd..016e444e 100644 --- a/ingen/client/PluginModel.hpp +++ b/ingen/client/PluginModel.hpp @@ -61,8 +61,7 @@ public: std::string human_name() const; std::string port_human_name(uint32_t index) const; - typedef std::pair ScalePoint; - typedef std::list ScalePoints; + typedef std::map ScalePoints; ScalePoints port_scale_points(uint32_t i) const; static LilvWorld* lilv_world() { return _lilv_world; } -- cgit v1.2.1