From: Elena Mamontova Date: Wed, 10 Feb 2016 13:28:02 +0000 (+0200) Subject: Ticket 26. if (&set == this) checking removed in the operator(). X-Git-Tag: 2.409~174^2~1^2~44 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/facc4c60c54a4df8be7fc5519f049d28fd87dbe1?ds=inline Ticket 26. if (&set == this) checking removed in the operator(). --- diff --git a/projects/stargazer/settings_impl.cpp b/projects/stargazer/settings_impl.cpp index ca343bd5..a50a0a65 100644 --- a/projects/stargazer/settings_impl.cpp +++ b/projects/stargazer/settings_impl.cpp @@ -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;