summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R. Fisher <mfisher@bketech.com>2013-07-15 16:47:07 -0500
committerMichael Fisher <mfisher31@gmail.com>2013-07-15 22:57:34 -0500
commitbf153e58a5e3b31536648bff4b95bf6e0a107c6c (patch)
treee57ec037a0a5845a05284f86926da8733c4fff0f
parent65eb0b845f1e028d0b310cfe112730c6a62f3efd (diff)
C++11 Building - Use new style struct field inititializing
- clang with std=c++11 enabled was failing here
-rw-r--r--libs/surfaces/generic_midi/interface.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/libs/surfaces/generic_midi/interface.cc b/libs/surfaces/generic_midi/interface.cc
index 94edb0ba80..57f56bd399 100644
--- a/libs/surfaces/generic_midi/interface.cc
+++ b/libs/surfaces/generic_midi/interface.cc
@@ -56,17 +56,17 @@ probe_generic_midi_protocol (ControlProtocolDescriptor* /*descriptor*/)
}
static ControlProtocolDescriptor generic_midi_descriptor = {
- name : "Generic MIDI",
- id : "uri://ardour.org/surfaces/generic_midi:0",
- ptr : 0,
- module : 0,
- mandatory : 0,
- supports_feedback : true,
- probe : probe_generic_midi_protocol,
- initialize : new_generic_midi_protocol,
- destroy : delete_generic_midi_protocol
+ .name = "Generic MIDI",
+ .id = "uri://ardour.org/surfaces/generic_midi:0",
+ .ptr = 0,
+ .module = 0,
+ .mandatory = 0,
+ .supports_feedback = true,
+ .probe = probe_generic_midi_protocol,
+ .initialize = new_generic_midi_protocol,
+ .destroy = delete_generic_midi_protocol
};
-
+
extern "C" {
ControlProtocolDescriptor*