libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcvd-members] libcvd/cvd convolution.h runnable.h


From: Edward Rosten
Subject: [libcvd-members] libcvd/cvd convolution.h runnable.h
Date: Sat, 04 Aug 2007 00:08:52 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Edward Rosten <edrosten>        07/08/04 00:08:52

Modified files:
        cvd            : convolution.h runnable.h 

Log message:
        Fixed some warnings

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/convolution.h?cvsroot=libcvd&r1=1.8&r2=1.9
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/runnable.h?cvsroot=libcvd&r1=1.1&r2=1.2

Patches:
Index: convolution.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/convolution.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- convolution.h       19 Mar 2007 15:55:10 -0000      1.8
+++ convolution.h       4 Aug 2007 00:08:51 -0000       1.9
@@ -329,7 +329,7 @@
 };
 
 template <class T> struct GetPixelRowTyped<T,T> {
-  static inline const T* get(const T* row, int w, T* rowbuf) {
+  static inline const T* get(const T* row, int , T* ) {
     return row;
   }
 };
@@ -380,7 +380,7 @@
 };
 
 template <class T> struct ConvolveMiddle<T,0,1> {
-  template <class S> static inline T at(const T* input, const S& factor, const 
S* kernel) { return *input * factor; }
+  template <class S> static inline T at(const T* input, const S& factor, const 
S* ) { return *input * factor; }
 };
 
 #if 1

Index: runnable.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/runnable.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- runnable.h  20 Jan 2006 14:25:27 -0000      1.1
+++ runnable.h  4 Aug 2007 00:08:51 -0000       1.2
@@ -8,6 +8,7 @@
  public:
   //! Perform the function of this object.
    virtual void run()=0;
+   virtual ~Runnable(){};
 };
 
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]