Opened 4 years ago
Closed 4 years ago
#2508 closed defect (wontfix)
[Patch]OsmPrimitive - realEqual - refactoring
| Reported by: | Gubaer | Owned by: | team |
|---|---|---|---|
| Priority: | minor | Component: | Core |
| Version: | latest | Keywords: | refactoring |
| Cc: | karl.guggisberg@… |
Description
I've been working on bugs related to conflict detection and conflict resolution and I felt that OsmPrimitive::realEqual would benefit from a minor refactoring - see attachement.
Attachments (1)
Change History (5)
Changed 4 years ago by Gubaer
comment:1 Changed 4 years ago by Gubaer
- Cc karl.guggisberg@… added
comment:2 Changed 4 years ago by stoecker
comment:3 Changed 4 years ago by Gubaer
yes.
I agree however that it doesn't fix a bug. Nor does it add functionality. So, it probably comes down to personal taste. I'll not get angry if you don't apply the patch ;-)
comment:4 Changed 4 years ago by stoecker
- Resolution set to wontfix
- Status changed from new to closed
Actually I prefer the single statement variant as the chances for the compiler to optimize it are much better. So this is a wontfix. Sorry :-)



Hmm, do you really think that is an improvement?