diff options
Diffstat (limited to 'common/rfb/Configuration.cxx')
-rw-r--r-- | common/rfb/Configuration.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/common/rfb/Configuration.cxx b/common/rfb/Configuration.cxx index 8ef09446..414b18f7 100644 --- a/common/rfb/Configuration.cxx +++ b/common/rfb/Configuration.cxx @@ -79,23 +79,6 @@ Configuration* Configuration::viewer() { // -=- 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); } |