From cacef7b54b33b8af4edbbc38f482cee3a5b9d5a4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 3 Oct 2006 02:39:17 +0000 Subject: [PATCH] cause compiler error if trying to use undefined operator= --- stepmania/src/XmlFile.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/XmlFile.h b/stepmania/src/XmlFile.h index ecfcfd4540..50d9ea418b 100644 --- a/stepmania/src/XmlFile.h +++ b/stepmania/src/XmlFile.h @@ -104,6 +104,9 @@ public: ~XNode(); void Clear(); + +private: + XNode &operator=( const XNode &cpy ) { } // don't use }; #endif