summaryrefslogtreecommitdiffhomepage
path: root/c++.html.markdown
diff options
context:
space:
mode:
authorMark Keller <8452750+keller00@users.noreply.github.com>2024-06-18 03:35:45 -0400
committerGitHub <noreply@github.com>2024-06-18 09:35:45 +0200
commit7611e1f1904619b58333a8c564500d9cb2b584d9 (patch)
treece44d95cbc38cdae0043b9cb4c0765a31f60b644 /c++.html.markdown
parent887d6e0653ddbec5f24179ac640509484f94d49d (diff)
Update c++.html.markdown (#4980)
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 7adb5244..663fa45e 100644
--- a/c++.html.markdown
+++ b/c++.html.markdown
@@ -840,7 +840,7 @@ void doSomethingWithAFile(const std::string& filename)
// manage the lifetime of the object being pointed to without ever needing to explicitly delete
// the object. The term itself simply describes a set of pointers with the
// mentioned abstraction.
-// Smart pointers should preferred over raw pointers, to prevent
+// Smart pointers should be preferred over raw pointers, to prevent
// risky memory leaks, which happen if you forget to delete an object.
// Usage of a raw pointer: