[Scummvm-cvs-logs] SF.net SVN: scummvm: [26235] scummvm/trunk/engines/parallaction/defs.h

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Mar 19 00:04:45 CET 2007


Revision: 26235
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26235&view=rev
Author:   fingolfin
Date:     2007-03-18 16:04:44 -0700 (Sun, 18 Mar 2007)

Log Message:
-----------
Fixed warning: warning: base class 'struct Parallaction::Node' should be explicitly initialized in the copy constructor

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/defs.h

Modified: scummvm/trunk/engines/parallaction/defs.h
===================================================================
--- scummvm/trunk/engines/parallaction/defs.h	2007-03-18 22:56:56 UTC (rev 26234)
+++ scummvm/trunk/engines/parallaction/defs.h	2007-03-18 23:04:44 UTC (rev 26235)
@@ -54,7 +54,9 @@
 	WalkNode(int32 x, int32 y) : _x(x), _y(y) {
 	}
 
-	WalkNode(const WalkNode& w) : _x(w._x), _y(w._y) {
+	WalkNode(const WalkNode& w) : Node(), _x(w._x), _y(w._y) {
+		// TODO: This will not properly set _prev and _next
+		// -- not sure what would be "correct" here?
 	}
 
 	void getPoint(Common::Point &p) const {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list