From facc4c60c54a4df8be7fc5519f049d28fd87dbe1 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Wed, 10 Feb 2016 15:28:02 +0200 Subject: [PATCH] Ticket 26. if (&set == this) checking removed in the operator(). --- projects/stargazer/settings_impl.cpp | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.44.2