From 8ea3da7247a6453d98e2acc296259583d5d4cd54 Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 5 Aug 2014 23:44:31 +0000 Subject: [PATCH] Took out duplicate operator= --- src/thermo/SurfPhase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thermo/SurfPhase.cpp b/src/thermo/SurfPhase.cpp index b5133de50..22763eb95 100644 --- a/src/thermo/SurfPhase.cpp +++ b/src/thermo/SurfPhase.cpp @@ -74,7 +74,7 @@ SurfPhase::SurfPhase(const SurfPhase& right) : m_logn0(right.m_logn0), m_press(right.m_press) { - *this = operator=(right); + operator=(right); } SurfPhase& SurfPhase::operator=(const SurfPhase& right)