fix pvs warning (V762) 16/141916/1
authorsangho park <sangho.g.park@samsung.com>
Wed, 2 Aug 2017 04:04:29 +0000 (13:04 +0900)
committersangho park <sangho.g.park@samsung.com>
Wed, 2 Aug 2017 04:04:29 +0000 (13:04 +0900)
Change-Id: I9413137ccbddd4eb2b7c1cab1e5cd039bf875c77
Signed-off-by: sangho park <sangho.g.park@samsung.com>
mv_surveillance/surveillance/include/EventTriggerPersonRecognition.h
mv_surveillance/surveillance/src/EventTriggerPersonRecognition.cpp

index 78233863a83799dcd118e62982c8abdc7de93acf..bcfce95a3d3832a73b3c03f419b151aba5a7aab2 100644 (file)
@@ -130,22 +130,6 @@ public:
         */
        virtual std::string getEventType() const;
 
-       /**
-        * @brief Comparison operator for equal case.
-        *
-        * @since_tizen 3.0
-        * @return true if event trigger is equal to other, false otherwise
-        */
-       virtual bool operator==(const EventTriggerPersonRecognition& other) const;
-
-       /**
-        * @brief Comparison operator for not equal case.
-        *
-        * @since_tizen 3.0
-        * @return true if event trigger is not equal to other, false otherwise
-        */
-       virtual bool operator!=(const EventTriggerPersonRecognition& other) const;
-
        /**
         * @brief Sets event results.
         *
index caab6775767f982ebd014425646a7c4b2a95361d..5dd9d09030313f9ed82c3f0f4cc837f4cc8ced62 100644 (file)
@@ -309,21 +309,6 @@ std::string EventTriggerPersonRecognition::getEventType() const
        return MV_SURVEILLANCE_EVENT_TYPE_PERSON_RECOGNIZED;
 }
 
-bool EventTriggerPersonRecognition::operator==(const EventTriggerPersonRecognition& other) const
-{
-       if (EventTrigger::operator !=(other))
-               return false;
-
-       /* TODO: compare private values if necessary */
-
-       return true;
-}
-
-bool EventTriggerPersonRecognition::operator!=(const EventTriggerPersonRecognition& other) const
-{
-       return !(*this == other);
-}
-
 void EventTriggerPersonRecognition::setEventResults(
                mv_rectangle_s faceLocation,
                int faceLabel,