From 25d92a602ef8b06c6d40f1dc0ecceb72b0dcb37b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 28 Jan 2008 15:20:25 +0000 Subject: Removed unneeded copy constructor & assignment operator (the compiler will auto-generate them for us) svn-id: r30678 --- common/util.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'common') diff --git a/common/util.h b/common/util.h index 05e821eb01..8e5fd8d1ed 100644 --- a/common/util.h +++ b/common/util.h @@ -236,16 +236,6 @@ struct EngineDebugLevel { 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 ©) - : option(copy.option), description(copy.description), level(copy.level), enabled(copy.enabled) {} - - EngineDebugLevel &operator =(const EngineDebugLevel ©) { - option = copy.option; - description = copy.description; - level = copy.level; - enabled = copy.enabled; - return *this; - } String option; String description; -- cgit v1.2.3