View Issue Details

IDProjectCategoryView StatusLast Update
0001947ardourbugspublic2008-11-21 00:04
Reporterjohne53 Assigned Tocth103  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.1 
Summary0001947: struct defined twice
DescriptionI just noticed that the structure MIDI::PortSet is defined differently in two different header files. libs/midi++2/midi++/port.h defines it like this:-

namespace MIDI {

// ...

struct PortSet {
    PortSet (std::string str) : owner (str) { }
    
    std::string owner;
    std::list<XMLNode> ports;
};
}

whereas libs/midi++2/midi++/port_request.h defines it like this:-

namespace MIDI {

// ...

struct PortSet {
    PortSet (std::string str) : owner (str) { }
    
    std::string owner;
    std::list<PortRequest> ports;
};
}

It doesn't seem to be causing any problems but I thought I'd mention it. Apologies if these definitions are deliberately different.
TagsNo tags attached.

Activities

cth103

2007-11-04 23:22

administrator   ~0004530

Hi, thanks for the report! I can't find any file named port_request.h in either trunk or the 2.0-ongoing branch. In which version of ardour do you find this file? Cheers, Carl

cth103

2007-11-17 20:14

administrator   ~0004569

I can't find the problem file anywhere, and no response from the submitter, so I'm closing this.

Issue History

Date Modified Username Field Change
2007-11-01 19:10 johne53 New Issue
2007-11-04 23:22 cth103 Note Added: 0004530
2007-11-04 23:22 cth103 Status new => feedback
2007-11-04 23:23 cth103 Status feedback => assigned
2007-11-04 23:23 cth103 Assigned To => cth103
2007-11-17 20:14 cth103 Status assigned => resolved
2007-11-17 20:14 cth103 Resolution open => fixed
2007-11-17 20:14 cth103 Note Added: 0004569
2008-11-21 00:04 seablade Status resolved => closed