fix pvs warning (V762) 17/141917/1
authorsangho park <sangho.g.park@samsung.com>
Wed, 2 Aug 2017 04:05:57 +0000 (13:05 +0900)
committersangho park <sangho.g.park@samsung.com>
Wed, 2 Aug 2017 04:05:57 +0000 (13:05 +0900)
Change-Id: Ib7f156d0f4a27fc1c7fc331903d0993c518b9345
Signed-off-by: sangho park <sangho.g.park@samsung.com>
mv_surveillance/surveillance/include/EventTriggerMovementDetection.h
mv_surveillance/surveillance/src/EventTriggerMovementDetection.cpp

index 2f113a19b439d26b1af4d5866f3a65219414e992..95b4bb9385b025949f71be2a9150172c17245e81 100644 (file)
@@ -126,22 +126,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 EventTriggerMovementDetection& 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 EventTriggerMovementDetection& other) const;
-
 private:
        static const cv::Mat __ERODE_KERNEL;
 
index 308ba027587e95a3605ccb46adf8c1eabe733750..af37537836a85129862e4241ef9a0f3fee54a0b1 100644 (file)
@@ -265,20 +265,5 @@ std::string EventTriggerMovementDetection::getEventType() const
        return MV_SURVEILLANCE_EVENT_TYPE_MOVEMENT_DETECTED;
 }
 
-bool EventTriggerMovementDetection::operator==(const EventTriggerMovementDetection& other) const
-{
-       if (EventTrigger::operator !=(other))
-               return false;
-
-       /* TODO: compare private values if necessary */
-
-       return true;
-}
-
-bool EventTriggerMovementDetection::operator!=(const EventTriggerMovementDetection& other) const
-{
-       return !(*this == other);
-}
-
 } /* surveillance */
 } /* mediavision */