BUG: inconsistent check in non-const '->' dereference (tmp, refPtr)
- old code just checked for pointer vs non-pointer. Should actually treat CREF and REF types differently Overseen in commit be058bec. Only affects develop branch ENH: improved naming consistency in tmp, refPtr - also use long-form to check for pointer type instead of the isTmp() method. Makes differences between PTR, CREF, REF easier to spot. STYLE: typeName() for tmp, refPtr is static
Showing
- src/OpenFOAM/memory/refPtr/refPtr.H 13 additions, 13 deletionssrc/OpenFOAM/memory/refPtr/refPtr.H
- src/OpenFOAM/memory/refPtr/refPtrI.H 62 additions, 52 deletionssrc/OpenFOAM/memory/refPtr/refPtrI.H
- src/OpenFOAM/memory/tmp/tmp.H 14 additions, 14 deletionssrc/OpenFOAM/memory/tmp/tmp.H
- src/OpenFOAM/memory/tmp/tmpI.H 72 additions, 58 deletionssrc/OpenFOAM/memory/tmp/tmpI.H
Please register or sign in to comment