Skip to content

Commit

Permalink
fix #68 typo (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghenshui committed Aug 23, 2023
1 parent 00167d6 commit 9963be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posts/126.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ size_t index; |
consteval auto as_constant(auto value) {
return value;
}
consteval int Calc(int x) { return 4 * x; }
constexpr int Calc(int x) { return 4 * x; }
int main() {
auto res = Calc(2);
// auto res = as_constant(Calc(2));
Expand Down

0 comments on commit 9963be1

Please sign in to comment.