Closed W0153R closed 5 years ago
Hi,
Some hints:
class tNMEA0183 { public: enum tChecsumCheck={cc_Automatic, cc_NoCheck, cc_Force}; ...
bool NMEA0183SetRMB(tNMEA0183Msg &NMEA0183Msg, tRMB RMB, const char *Src="GP");
causes explicit copy for whole RMB structure, which is pretty big. So it is better to use
bool NMEA0183SetRMB(tNMEA0183Msg &NMEA0183Msg, const tRMB &RMB, const char *Src="GP");
So that only reference to structure will be copied as parameter. There is no difference of use the parameter itself.