I'm using KDevelop and getting the error:
C++ forbids declaration of ‘vector’ with no type
The line in question is:
In the context:
I thought the keyword 'double' made it quite clear which type of vector I'm declaring... but the way it puts 'vector' in quotes- Does it think it's a function? How do I tell it that vector means vector?
int Add(int ObjectToAdd, int CurrentObjectType); // Adds an object to the selection
void Remove(); // Removes an object from the selection
void Clear(); // Empties the selection / selects nothing
Selection(); // Constructor
~Selection(); // Destructor
char SelectionName; // An 80 charector array - Name or Label for the selection
vector<double> MemberDimmers; // A vector of Dimmers that belong to this (a) group.
vector<double> MemberMVLs; // A vector of Moving Lights that belong to this (a) group.
vector<double> MemberAtmospherics; // A vector of Atmospheric Machines that belong to this (a) group.