logo       
Google Custom Search
    AddThis Social Bookmark Button

Fresco/GGI/GGIKit GGIKitImpl.cc,1.5,1.6: msg#00130

Subject: Fresco/GGI/GGIKit GGIKitImpl.cc,1.5,1.6
Update of /cvs/fresco/Fresco/GGI/GGIKit
In directory purcel:/tmp/cvs-serv9995/GGI/GGIKit

Modified Files:
        GGIKitImpl.cc 
Log Message:
Cleanup the cleanup.

A new template create_and_set_body added to KitImpl. That gets us around the
need to define a temporary in most places, shortening the code even further.


Index: GGIKitImpl.cc
===================================================================
RCS file: /cvs/fresco/Fresco/GGI/GGIKit/GGIKitImpl.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- GGIKitImpl.cc       23 Jan 2003 23:10:37 -0000      1.5
+++ GGIKitImpl.cc       25 Jan 2003 22:37:05 -0000      1.6
@@ -30,7 +30,7 @@
 
 GGI::Visual_ptr GGIKitImpl::create_visual(Fresco::PixelCoord w, 
Fresco::PixelCoord h)
 {
-    return create<Visual>(new VisualImpl(w, h));
+    return create<GGI::Visual>(new VisualImpl(w, h));
 }



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>