Skip to content

Commit

Permalink
Merge pull request adambard#1370 from dreamtocode/patch-2
Browse files Browse the repository at this point in the history
Update c++.html.markdown
  • Loading branch information
vendethiel committed Oct 6, 2015
2 parents b4428b1 + 9d64b53 commit 6ac7368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c++.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ string retVal = tempObjectFun();

// What happens in the second line is actually:
// - a string object is returned from tempObjectFun
// - a new string is constructed with the returned object as arugment to the
// - a new string is constructed with the returned object as argument to the
// constructor
// - the returned object is destroyed
// The returned object is called a temporary object. Temporary objects are
Expand Down

0 comments on commit 6ac7368

Please sign in to comment.