Revision: 5063 http://tigervnc.svn.sourceforge.net/tigervnc/?rev=5063&view=rev Author: atkac Date: 2013-03-14 15:49:29 +0000 (Thu, 14 Mar 2013) Log Message: ----------- Remove unused assignment operator declaration from rfb::Configuration
Modified Paths: -------------- trunk/common/rfb/Configuration.cxx trunk/common/rfb/Configuration.h Modified: trunk/common/rfb/Configuration.cxx =================================================================== --- trunk/common/rfb/Configuration.cxx 2013-03-14 15:35:42 UTC (rev 5062) +++ trunk/common/rfb/Configuration.cxx 2013-03-14 15:49:29 UTC (rev 5063) @@ -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); } Modified: trunk/common/rfb/Configuration.h =================================================================== --- trunk/common/rfb/Configuration.h 2013-03-14 15:35:42 UTC (rev 5062) +++ trunk/common/rfb/Configuration.h 2013-03-14 15:49:29 UTC (rev 5063) @@ -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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Tigervnc-commits mailing list Tigervnc-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-commits