From e96c36c1a7abb062e36efc0ac95c35fedcef922e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Apr 2007 06:04:32 +0000 Subject: De-template-ification of port types (req. for LV2 MIDI, but nice code size reduction). LV2 MIDI patching support (LV2 style MIDI throughout, inc. internal plugins). git-svn-id: http://svn.drobilla.net/lad/ingen@415 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/engine/DataType.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libs/engine/DataType.h') diff --git a/src/libs/engine/DataType.h b/src/libs/engine/DataType.h index 62cec1af..469c48d8 100644 --- a/src/libs/engine/DataType.h +++ b/src/libs/engine/DataType.h @@ -36,10 +36,10 @@ public: MIDI = 2 }; - DataType(const string& uri) + DataType(const std::string& uri) : _symbol(UNKNOWN) { - if (uri== type_uris[MIDI]) { + if (uri == type_uris[MIDI]) { _symbol = MIDI; } else if (uri == type_uris[FLOAT]) { _symbol = FLOAT; -- cgit v1.2.1