[Scummvm-cvs-logs] SF.net SVN: scummvm: [30678] scummvm/trunk/common/util.h

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Jan 28 16:20:25 CET 2008


Revision: 30678
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30678&view=rev
Author:   fingolfin
Date:     2008-01-28 07:20:25 -0800 (Mon, 28 Jan 2008)

Log Message:
-----------
Removed unneeded copy constructor & assignment operator (the compiler will auto-generate them for us)

Modified Paths:
--------------
    scummvm/trunk/common/util.h

Modified: scummvm/trunk/common/util.h
===================================================================
--- scummvm/trunk/common/util.h	2008-01-28 15:10:25 UTC (rev 30677)
+++ scummvm/trunk/common/util.h	2008-01-28 15:20:25 UTC (rev 30678)
@@ -236,17 +236,7 @@
 	EngineDebugLevel() : option(""), description(""), level(0), enabled(false) {}
 	EngineDebugLevel(uint32 l, const String &o, const String &d)
 		: option(o), description(d), level(l), enabled(false) {}
-	EngineDebugLevel(const EngineDebugLevel &copy)
-		: option(copy.option), description(copy.description), level(copy.level), enabled(copy.enabled) {}
 
-	EngineDebugLevel &operator =(const EngineDebugLevel &copy) {
-		option = copy.option;
-		description = copy.description;
-		level = copy.level;
-		enabled = copy.enabled;
-		return *this;
-	}
-
 	String option;
 	String description;
 


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