summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-10-07 00:21:12 +0200
committerven <vendethiel@hotmail.fr>2015-10-07 00:21:12 +0200
commit6ac7368b3b8e3ce1ee6c50c9f088553e7cbc6d1a (patch)
treea15ae0d396742b4f9ae65ee8f65299462c0cc7be /c++.html.markdown
parentb4428b190ee05cfd8d560be7b5a442666bf4ff5c (diff)
parent9d64b532f8ccdfd95c2417dcf65257385956353a (diff)
Merge pull request #1370 from dreamtocode/patch-2
Update c++.html.markdown
Diffstat (limited to 'c++.html.markdown')
-rw-r--r--c++.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++.html.markdown b/c++.html.markdown
index 8ee964ca..6f4d0562 100644
--- a/c++.html.markdown
+++ b/c++.html.markdown
@@ -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