Skip to content

Commit

Permalink
fix some minor faults
Browse files Browse the repository at this point in the history
  • Loading branch information
suomesta committed Sep 30, 2023
1 parent 7e78a7d commit 4c95521
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reference/chrono/duration/op_greater_equal.md
Expand Up @@ -22,7 +22,7 @@ namespace chrono {
```cpp
using ct = common_type<decltype(lhs), decltype(rhs)>::type;
return ct(lhs).count() < ct(rhs).count();
return ct(lhs).count() >= ct(rhs).count();
```
* common_type[link /reference/type_traits/common_type.md]
* count[link /reference/chrono/duration/count.md]
Expand Down
2 changes: 1 addition & 1 deletion reference/chrono/time_point/op_greater_equal.md
Expand Up @@ -24,7 +24,7 @@ namespace chrono {
## 戻り値
```cpp
return lhs.time_since_epoch() < rhs.time_since_poch();
return lhs.time_since_epoch() >= rhs.time_since_poch();
```
* time_since_epoch[link /reference/chrono/time_point/time_since_epoch.md]

Expand Down
2 changes: 1 addition & 1 deletion reference/chrono/time_point/op_plus.md
Expand Up @@ -23,7 +23,7 @@ namespace chrono {
const time_point<Clock, Duration2>& rhs); // (2) C++11

template <class Rep1, class Period1, class Clock, class Duration2>
time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type>
constexpr time_point<Clock, typename common_type<duration<Rep1, Period1>, Duration2>::type>
operator+(const duration<Rep1, Period1>& lhs,
const time_point<Clock, Duration2>& rhs); // (2) C++14
}}
Expand Down

0 comments on commit 4c95521

Please sign in to comment.