fix AIS decoding memory leaks

This commit is contained in:
andreas 2021-10-30 13:13:45 +02:00
parent 8182ce1fe9
commit 9b65ce51d4
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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;