Skip to content

Commit 0bb4ea3

Browse files
Update greater.cpp
1 parent 96f54fa commit 0bb4ea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

greater/greater.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
int main()
55
{
6-
std::function<bool(int, int)> less{ std::greater<int>{ } };
7-
std::cout << less(1, 10) << '\n' << less(20, 2) << '\n';
6+
std::function<bool(int, int)> greater{ std::greater<int>{ } };
7+
std::cout << greater(1, 10) << '\n' << greater(20, 2) << '\n';
88
return 0;
99
}

0 commit comments

Comments
 (0)