C++11 Building - Use new style struct field inititializing
authorMichael R. Fisher <mfisher@bketech.com>
Mon, 15 Jul 2013 21:47:07 +0000 (16:47 -0500)
committerMichael Fisher <mfisher31@gmail.com>
Tue, 16 Jul 2013 03:57:34 +0000 (22:57 -0500)
- clang with std=c++11 enabled was failing here

libs/surfaces/generic_midi/interface.cc

index 94edb0ba8054af7e01e1a81e81cd90438fc35e45..57f56bd39978b8a951978787d26bf1bcf0b46484 100644 (file)
@@ -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*