Ticket #506 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

Ambiguous std::log call for MSVC

Reported by: hobu Owned by: geos-devel@…
Priority: minor Milestone: 3.3.3
Component: Default Version: 3.3.2
Severity: Unassigned Keywords:
Cc:

Description

BufferOp?.cpp:97 has an ambiguous call to std::log

Change History

Changed 5 months ago by hobu

Fixed in 3.3 branch in r3559

Changed 5 months ago by mloskot

std::log(10.0)

is a perfect candidate for compile-time computed constant, now it feels pretty much like a waste of CPU cycles.

Changed 5 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

Forward ported as r3561

@mloskot: if you have a patch it's welcome for another ticket.

Note: See TracTickets for help on using tickets.