aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-11-04 16:56:28 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2010-11-04 16:56:28 +0000
commit7771f4d41778d9010ee716fe11162bd121836f53 (patch)
tree719d7faef8490b79ed2aa7f080375fc2757e73b2 /core
parenta408a2c8afffbe3b45501c9c7f66624287a1e965 (diff)
downloadopt-utilities-7771f4d41778d9010ee716fe11162bd121836f53.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@141 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'core')
-rw-r--r--core/fitter.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/fitter.hpp b/core/fitter.hpp
index 7234ff4..996d4c1 100644
--- a/core/fitter.hpp
+++ b/core/fitter.hpp
@@ -382,6 +382,10 @@ namespace opt_utilities
*/
param_info& operator=(const param_info& rhs)
{
+ if(this==&rhs)
+ {
+ return *this;
+ }
name=rhs.name;
description=rhs.description;
opt_eq(value,rhs.value);