D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15991 - std.datetime.StopWatch is not @nogc
Summary: std.datetime.StopWatch is not @nogc
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: basile-z
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-04 14:40 UTC by Mithun Hunsur
Modified: 2020-03-21 03:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Mithun Hunsur 2016-05-04 14:40:57 UTC
As far as I can tell, StopWatch does not use the GC at all - it should be fairly simple to make it @nogc.
Comment 1 github-bugzilla 2016-05-18 21:46:42 UTC
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/41de4f17b71edfe8101a16b696c23ed0ab89fb4c
fix issue 15991 - std.datetime.StopWatch is not @nogc

https://github.com/dlang/phobos/commit/88966f953c185c552615b5fda8766cc9211e63c5
Merge pull request #4333 from BBasile/issue-15991

fix issue 15991 - std.datetime.StopWatch is not @nogc