Fresco/GGI/GGIKit GGIKitImpl.cc,1.5,1.6

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
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));
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.