summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
authorGeoff Liu <g@geoffliu.me>2015-04-17 14:06:47 -0400
committerGeoff Liu <g@geoffliu.me>2015-04-17 14:06:47 -0400
commit49e8dd42636199f19d250bc6b169764f5ebe0ed7 (patch)
tree4a91f68d8c75720eb8c1cf288fcbeba0f841e62c /c++.html.markdown
parent61510ee92caaca9c841da6e40c8e1d680d1b7e34 (diff)
parentb44aded453d94d5a196356f3c05c678d6ec9323c (diff)
Merge remote-tracking branch 'upstream/master'
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