Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 26, 2009, 10:15:53 PM (15 years ago)
Author:
landauf
Message:

replaced delete with destroy() in core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/core/input/InputManager.cc

    r5747 r5796  
    289289
    290290        // Destroy calibrator helper handler and state
    291         delete keyDetector_;
     291        keyDetector_->destroy();
    292292        this->destroyState("calibrator");
    293293        // Destroy KeyDetector and state
    294         delete calibratorCallbackHandler_;
     294        calibratorCallbackHandler_->destroy();
    295295        this->destroyState("detector");
    296296        // destroy the empty InputState
     
    722722        }
    723723        statesByName_.erase(state->getName());
    724         delete state;
     724        state->destroy();
    725725    }
    726726}
Note: See TracChangeset for help on using the changeset viewer.