From 0ffc77bf9dd01ec90f7ecc323f22f57e5c71476a Mon Sep 17 00:00:00 2001 From: Automatic source maintenance Date: Tue, 31 Aug 2010 00:26:58 -0600 Subject: [PATCH] SourceFormat Enforcement --- src/base/CbcPointer.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/base/CbcPointer.h b/src/base/CbcPointer.h index c3fd6a8920..dc5c93d754 100644 --- a/src/base/CbcPointer.h +++ b/src/base/CbcPointer.h @@ -49,10 +49,10 @@ public: template CbcPointer &operator =(const CbcPointer &o) { if (this != &o) { // assignment to self - clear(); - cbc = o.raw(); // so that set() is accurate - if (o.valid()) - lock = cbdataReference(o->toCbdata()); + clear(); + cbc = o.raw(); // so that set() is accurate + if (o.valid()) + lock = cbdataReference(o->toCbdata()); } return *this; } @@ -104,10 +104,10 @@ template CbcPointer &CbcPointer::operator =(const CbcPointer &d) { if (this != &d) { // assignment to self - clear(); - cbc = d.cbc; - if (d.lock && cbdataReferenceValid(d.lock)) - lock = cbdataReference(d.lock); + clear(); + cbc = d.cbc; + if (d.lock && cbdataReferenceValid(d.lock)) + lock = cbdataReference(d.lock); } return *this; } -- 2.47.3