diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2010-11-04 16:56:28 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2010-11-04 16:56:28 +0000 |
commit | 7771f4d41778d9010ee716fe11162bd121836f53 (patch) | |
tree | 719d7faef8490b79ed2aa7f080375fc2757e73b2 /core | |
parent | a408a2c8afffbe3b45501c9c7f66624287a1e965 (diff) | |
download | opt-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.hpp | 4 |
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);
|