13
0

C++11 Building - Use new style struct field inititializing

- clang with std=c++11 enabled was failing here
This commit is contained in:
Michael R. Fisher 2013-07-15 16:47:07 -05:00 committed by Michael Fisher
parent 65eb0b845f
commit bf153e58a5

View 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*