Bug 21700 – Long deprecated Stopwatch std.datetime is still not removed

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-03-11T04:36:18Z
Last change time
2021-03-12T12:05:18Z
Keywords
pull
Assigned to
No Owner
Creator
Andrej Mitrovic

Comments

Comment #0 by andrej.mitrovich — 2021-03-11T04:36:18Z
----- // @@@DEPRECATED_2018-10@@@ /* $(RED The old benchmarking functionality in std.datetime (which uses $(REF TickDuration,core,time)) has been deprecated. Use what's in std.datetime.stopwatch instead. It uses $(REF MonoTime,core,time) and $(REF Duration,core,time). See $(REF AutoStart,std,datetime,stopwatch). This symbol will be removed from the documentation in October 2018 and fully removed from Phobos in October 2019.) Used by StopWatch to indicate whether it should start immediately upon construction. If set to `AutoStart.no`, then the stopwatch is not started when it is constructed. Otherwise, if set to `AutoStart.yes`, then the stopwatch is started when it is constructed. */ deprecated("To be removed after 2.094. Use std.datetime.stopwatch.AutoStart instead.") alias AutoStart = Flag!"autoStart"; ----- This is still present in 2.095, and it's been planned to be removed over two years ago. Can we just remove it already?
Comment #1 by dlang-bot — 2021-03-12T10:54:49Z
@berni44 created dlang/phobos pull request #7844 "Fix Issue 21700 - Long deprecated Stopwatch std.datetime is still not removed" fixing this issue: - Fix Issue 21700 - Long deprecated Stopwatch std.datetime is still not removed https://github.com/dlang/phobos/pull/7844
Comment #2 by dlang-bot — 2021-03-12T12:05:18Z
dlang/phobos pull request #7844 "Fix Issue 21700 - Long deprecated Stopwatch std.datetime is still not removed" was merged into master: - 59563f17fcd91a03bb7cf312917626d2026d453b by berni44: Fix Issue 21700 - Long deprecated Stopwatch std.datetime is still not removed https://github.com/dlang/phobos/pull/7844