Correct typos in comments

This commit is contained in:
Casey Korver
2023-07-03 15:13:13 -05:00
committed by Cameron Gutman
parent 70dc582f38
commit b1ffa8a6c5
13 changed files with 29 additions and 29 deletions

View File

@@ -38,7 +38,7 @@ namespace safe {
_cv.notify_all();
}
// pop and view shoud not be used interchangeably
// pop and view should not be used interchangeably
status_t
pop() {
std::unique_lock ul { _lock };
@@ -60,7 +60,7 @@ namespace safe {
return val;
}
// pop and view shoud not be used interchangeably
// pop and view should not be used interchangeably
template <class Rep, class Period>
status_t
pop(std::chrono::duration<Rep, Period> delay) {
@@ -81,7 +81,7 @@ namespace safe {
return val;
}
// pop and view shoud not be used interchangeably
// pop and view should not be used interchangeably
const status_t &
view() {
std::unique_lock ul { _lock };
@@ -101,7 +101,7 @@ namespace safe {
return _status;
}
// pop and view shoud not be used interchangeably
// pop and view should not be used interchangeably
template <class Rep, class Period>
status_t
view(std::chrono::duration<Rep, Period> delay) {