Skip to content

Commit 4afd3ba

Browse files
authored
Update apple.cpp
1 parent c007755 commit 4afd3ba

File tree

1 file changed

+1
-1
lines changed
  • basic_content/const/class_const/overload_example

1 file changed

+1
-1
lines changed

basic_content/const/class_const/overload_example/apple.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Apple
66
Apple(int i);
77
static const int apple_number;
88
void take(int num) const;
9-
int add(int num);
9+
int add();
1010
int add(int num) const;
1111
int getCount() const;
1212
};

0 commit comments

Comments
 (0)