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)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 8 Aug 2013 19:23:09 +0000 (15:23 -0400)
- 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*