Remove unused assignment operator declaration from rfb::Configuration
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5063 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/rfb/Configuration.cxx b/common/rfb/Configuration.cxx
index 8ef0944..414b18f 100644
--- a/common/rfb/Configuration.cxx
+++ b/common/rfb/Configuration.cxx
@@ -79,23 +79,6 @@
// -=- Configuration implementation
-Configuration& Configuration::operator=(const Configuration& src) {
- VoidParameter* current = head;
- while (current) {
- VoidParameter* srcParam = ((Configuration&)src).get(current->getName());
- if (srcParam) {
- current->immutable = false;
- CharArray value(srcParam->getValueStr());
- vlog.debug("operator=(%s, %s)", current->getName(), value.buf);
- current->setParam(value.buf);
- }
- current = current->_next;
- }
- if (_next)
- *_next=src;
- return *this;
-}
-
bool Configuration::set(const char* n, const char* v, bool immutable) {
return set(n, strlen(n), v, immutable);
}
diff --git a/common/rfb/Configuration.h b/common/rfb/Configuration.h
index 842adc9..e3337f4 100644
--- a/common/rfb/Configuration.h
+++ b/common/rfb/Configuration.h
@@ -62,11 +62,6 @@
// - Return the buffer containing the Configuration's name
const char* getName() const { return name.buf; }
- // - Assignment operator. For every Parameter in this Configuration's
- // group, get()s the corresponding source parameter and copies its
- // content.
- Configuration& operator=(const Configuration& src);
-
// - Set named parameter to value
bool set(const char* param, const char* value, bool immutable=false);