[Nfd-dev] ndn-cxx potentially breaking change: declare DEFAULT_INTEREST_LIFETIME as milliseconds
Junxiao Shi
shijunxiao at email.arizona.edu
Thu Nov 20 21:43:59 PST 2014
Dear folks
A potentially breaking change is coming to ndn-cxx soon:
declaration type of DEFAULT_INTEREST_LIFETIME is changing from
time::seconds to time::milliseconds.
If your code assigns this constant to a time::seconds variable, or relies
on .count() of this constant, it will be broken after this change.
To fix your code:
- assign to time::milliseconds: time::seconds is implicitly convertible
to time::milliseconds, but not the other way around
- use duration_cast before obaining .count()
Please do so reply no later than Nov 26 12:00 UTC.
We'll proceed with the change after that time.
You can compile your projects with ndn-cxx Change
http://gerrit.named-data.net/1461 and verify it works.
Yours, Junxiao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20141120/117c7c1e/attachment.html>
More information about the Nfd-dev
mailing list