Boost logo

Boost :

Subject: [boost] [chrono]Duplicated code in now() functions (was: Thread clock compatibility problems on Android)
From: Niklas Angare (li51ckf02_at_[hidden])
Date: 2011-05-16 18:16:22


"Vicente Botet" <vicente.botet_at_[hidden]>wrote:
>> ... you updated function:
>> thread_clock::now( system::error_code & ec )
>> but the same change shall be done also in function:
>> thread_clock::now( )
>
> Sorry. Committed revision 71951.

Time to get rid of the duplicated code in all the now()-functions in chrono
by making one of the functions call the other? It's a code maintenance
nightmare waiting to happen - except it already happened :)
 


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk