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

index b19b0bc..a4ce5a0 100644 (file)
@@ -135,22 +135,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 EventTriggerPersonAppearance& 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 EventTriggerPersonAppearance& other) const;
-
 private:
        static void movementDetectedCB(
                mv_surveillance_event_trigger_h event_trigger,
index 88ef012..c76d3d5 100644 (file)
@@ -269,23 +269,6 @@ std::string EventTriggerPersonAppearance::getEventType() const
        return MV_SURVEILLANCE_EVENT_TYPE_PERSON_APPEARED_DISAPPEARED;
 }
 
-bool EventTriggerPersonAppearance::operator==(
-               const EventTriggerPersonAppearance& other) const
-{
-       if (EventTrigger::operator !=(other))
-               return false;
-
-       /* TODO: compare private values if necessary */
-
-       return true;
-}
-
-bool EventTriggerPersonAppearance::operator!=(
-               const EventTriggerPersonAppearance& other) const
-{
-       return !(*this == other);
-}
-
 void EventTriggerPersonAppearance::movementDetectedCB(
                mv_surveillance_event_trigger_h /*event_trigger*/, mv_source_h source,
                int /*video_stream_id*/, mv_surveillance_result_h event_result,