fix AIS decoding memory leaks
This commit is contained in:
parent
8182ce1fe9
commit
9b65ce51d4
|
@ -36,7 +36,7 @@ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
#define MAX_SHIP_IN_VECTOR 5
|
||||
#define MAX_SHIP_IN_VECTOR 200
|
||||
class ship {
|
||||
public:
|
||||
uint32_t _userID;
|
||||
|
|
|
@ -49,7 +49,6 @@ typedef std::bitset<BITSET_LENGTH> AISBitSet;
|
|||
class tNMEA0183AISMsg : public tNMEA0183Msg {
|
||||
|
||||
protected: // AIS-NMEA
|
||||
AISBitSet bset;
|
||||
static const char *EmptyAISField; // 6bits 0 not used yet.....
|
||||
static const char *AsciChar;
|
||||
|
||||
|
|
Loading…
Reference in New Issue