Skip to content

Commit

Permalink
Merge pull request #1910 from wpf008/patch-1
Browse files Browse the repository at this point in the history
Update why-there-only-value-passing-in-java.md
  • Loading branch information
Snailclimb authored Jan 31, 2023
2 parents 541244f + eeea5ef commit 2f521a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/java/basis/why-there-only-value-passing-in-java.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ int main()
{
int age = 10;
std::cout << "invoke before: " << age << "\n";
incr(age);
incr(*age);
std::cout << "invoke after: " << age << "\n";
}
```
Expand Down

0 comments on commit 2f521a9

Please sign in to comment.