Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions common-tasks/time/sleep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ int main()

// Block the execution of a thread for a given amount of time.
//
// On [10], we create a [`std::chrono::milliseconds`](cpp/chrono/duration)
// On [11], we create a [`std::chrono::milliseconds`](cpp/chrono/duration)
// object representing the number of milliseconds to sleep (other
// duration units may also be used). On [11], the call to
// duration units may also be used). On [12], the call to
// [`std::this_thread::sleep_for`](cpp/thread/sleep_for) will block
// the execution of the current thread for at least the given
// duration.
//
// On [13], we demonstrate the use of C++14's [duration literal
// On [14], we demonstrate the use of C++14's [duration literal
// suffixes](http://en.cppreference.com/w/cpp/chrono/duration#Literals)
// by representing a duration with the seconds suffix, `s`. The
// `using` directive on [7] is required in order to use these suffixes.
Expand Down