Remove AddZones function and remove other commented out code
This commit is contained in:
parent
a38463f99e
commit
a9afdbddf1
|
@ -1121,9 +1121,6 @@ Monitor::~Monitor() {
|
|||
analysis_it = nullptr;
|
||||
decoder_it = nullptr;
|
||||
|
||||
// FIXME do we even need to do this?
|
||||
//zones.clear();
|
||||
|
||||
delete storage;
|
||||
if (n_linked_monitors) {
|
||||
for ( int i=0; i < n_linked_monitors; i++ ) {
|
||||
|
@ -1142,16 +1139,6 @@ Monitor::~Monitor() {
|
|||
}
|
||||
} // end Monitor::~Monitor()
|
||||
|
||||
void Monitor::AddZones(int p_n_zones, Zone *p_zones[]) {
|
||||
#if 0
|
||||
for ( int i=0; i < n_zones; i++ )
|
||||
delete zones[i];
|
||||
delete[] zones;
|
||||
n_zones = p_n_zones;
|
||||
zones = p_zones;
|
||||
#endif
|
||||
}
|
||||
|
||||
void Monitor::AddPrivacyBitmask() {
|
||||
if (privacy_bitmask) {
|
||||
delete[] privacy_bitmask;
|
||||
|
|
|
@ -410,7 +410,6 @@ public:
|
|||
|
||||
~Monitor();
|
||||
|
||||
void AddZones( int p_n_zones, Zone *p_zones[] );
|
||||
void AddPrivacyBitmask();
|
||||
|
||||
void LoadCamera();
|
||||
|
|
Loading…
Reference in New Issue