Bug 15991 – std.datetime.StopWatch is not @nogc

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-05-04T14:40:57Z
Last change time
2020-03-21T03:56:34Z
Assigned to
Basile-z
Creator
Mithun Hunsur

Comments

Comment #0 by me — 2016-05-04T14:40:57Z
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 by github-bugzilla — 2016-05-18T21:46:42Z
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