mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-31 10:34:17 +00:00
Ok, I'm a moron. Fixed now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7035 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
985d31215c
commit
e2fe664e8f
@ -60,7 +60,7 @@ public:
|
||||
}
|
||||
~DSNodeHandle() { setNode((DSNode*)0); }
|
||||
DSNodeHandle &operator=(const DSNodeHandle &H) {
|
||||
if (&H != this) return *this; // Don't set offset to 0 if self assigning.
|
||||
if (&H == this) return *this; // Don't set offset to 0 if self assigning.
|
||||
Offset = 0; setNode(H.getNode()); Offset = H.Offset;
|
||||
return *this;
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ public:
|
||||
}
|
||||
~DSNodeHandle() { setNode((DSNode*)0); }
|
||||
DSNodeHandle &operator=(const DSNodeHandle &H) {
|
||||
if (&H != this) return *this; // Don't set offset to 0 if self assigning.
|
||||
if (&H == this) return *this; // Don't set offset to 0 if self assigning.
|
||||
Offset = 0; setNode(H.getNode()); Offset = H.Offset;
|
||||
return *this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user