I am getting an error when trying to loop through it in the following way:
for (int i = 0; i < m_devices.size(); ++i)
the error is:
no matching function for call to 'std::vector<DynamicSdmProtocol::DynamicSdm*, std::allocator<DynamicSdmProtocol::DynamicSdm*> >::size(int)'
what should my upper bound be if not the size of the vector?
size is correct.
it looks like its having trouble finding size() ... does it need a std:: or something?
alternatively, have you been able to use the vector before this loop, to populate it or anything, and that works?