summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
authorGeoff Liu <cangming.liu@gmail.com>2015-04-12 22:00:50 -0600
committerGeoff Liu <cangming.liu@gmail.com>2015-04-12 22:00:50 -0600
commit34c3071c4103cf82e177a44d6909d825d22bc6df (patch)
tree4eacb8833fc813b4004283d6a559716a81310ebf /c++.html.markdown
parentf0540b93b16311ca39cf4f0ad5a9abf8dc13f223 (diff)
parent299f3de0eacfe4e3d1303135716ad14a09bb0118 (diff)
Merge pull request #1036 from Arnie97/patch-2
[c++/en] Fix spelling
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 1978d183..1a84efa4 100644
--- a/c++.html.markdown
+++ b/c++.html.markdown
@@ -555,7 +555,7 @@ void doSomethingWithAFile(const char* filename)
// Compare this to the use of C++'s file stream class (fstream)
// fstream uses its destructor to close the file.
// Recall from above that destructors are automatically called
-// whenver an object falls out of scope.
+// whenever an object falls out of scope.
void doSomethingWithAFile(const std::string& filename)
{
// ifstream is short for input file stream