libcvd-members
[Top][All Lists]
Advanced

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

[libcvd-members] libcvd/cvd image.h [subimage2]


From: Edward Rosten
Subject: [libcvd-members] libcvd/cvd image.h [subimage2]
Date: Fri, 30 Jun 2006 23:26:56 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Branch:         subimage2
Changes by:     Edward Rosten <edrosten>        06/06/30 23:26:56

Modified files:
        cvd            : image.h 

Log message:
        Removed useless helper fuction. Use std::make_pair instead. It's 
shorter.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/cvd/image.h?cvsroot=libcvd&only_with_tag=subimage2&r1=1.20.2.10&r2=1.20.2.11

Patches:
Index: image.h
===================================================================
RCS file: /cvsroot/libcvd/libcvd/cvd/image.h,v
retrieving revision 1.20.2.10
retrieving revision 1.20.2.11
diff -u -b -r1.20.2.10 -r1.20.2.11
--- image.h     30 Jun 2006 23:26:22 -0000      1.20.2.10
+++ image.h     30 Jun 2006 23:26:56 -0000      1.20.2.11
@@ -536,12 +536,6 @@
                };
 
        public:
-               static std::pair<ImageRef, T> CreateNew(const ImageRef& i, 
const T& v)
-               {
-                       return make_pair(i, v);
-               }
-
-
                ///Copy constructor. This does not copy the data, it just 
creates a new
                ///reference to the image data
                ///@param copy The image to copy




reply via email to

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