From 27cf9412846ee8b80fe2bcdb338227253e186a46 Mon Sep 17 00:00:00 2001 From: Jon Eyolfson Date: Fri, 28 Jul 2017 10:19:35 -0400 Subject: [PATCH] Remove unused method declarations in hog.cpp The class `App` appears to have two unused methods: `message` and `checkRectSimilarity`. The is no definition or use of either of these methods. This appears to be dead code. --- samples/tapi/hog.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/samples/tapi/hog.cpp b/samples/tapi/hog.cpp index 1ead0d9..9273e67 100644 --- a/samples/tapi/hog.cpp +++ b/samples/tapi/hog.cpp @@ -28,16 +28,6 @@ public: void workBegin(); void workEnd(); string workFps() const; - string message() const; - - -// This function test if gpu_rst matches cpu_rst. -// If the two vectors are not equal, it will return the difference in vector size -// Else if will return -// (total diff of each cpu and gpu rects covered pixels)/(total cpu rects covered pixels) - double checkRectSimilarity(Size sz, - std::vector& cpu_rst, - std::vector& gpu_rst); private: App operator=(App&); -- 2.7.4