]> git.stg.codes - stg.git/blobdiff - projects/stargazer/settings_impl.cpp
Ticket 26. if (&set == this) checking removed in the operator().
[stg.git] / projects / stargazer / settings_impl.cpp
index ca343bd5e20464c690479aac9004391cafe8ec81..a50a0a657ec708f37accbc0d5adfa7ab1d3ad218 100644 (file)
@@ -101,9 +101,6 @@ SETTINGS_IMPL::SETTINGS_IMPL(const SETTINGS_IMPL & rval)
 //-----------------------------------------------------------------------------
 SETTINGS_IMPL & SETTINGS_IMPL::operator=(const SETTINGS_IMPL & set)
 {
-    if (&set == this)
-        return *this;
-
     modulesPath = set.modulesPath;
     dirName = set.dirName;
     confDir = set.confDir;