Boost logo

Boost :

Subject: Re: [boost] [chrono]Duplicated code in now() functions (was: Thread clock compatibility problems on Android)
From: Vicente BOTET (vicente.botet_at_[hidden])
Date: 2011-05-18 07:00:25


> Message du 17/05/11 00:19
> De : "Niklas Angare"

> A : boost_at_[hidden]
> Copie à :
> Objet : [boost] [chrono]Duplicated code in now() functions (was: Thread clock compatibility problems on Android)
>
> "Vicente Botet" 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 :)

Hi,

I will consider your suggestion, but not before the release.
You could add a Task ticket if you want this to be tracked.

Thanks,
Vicente


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