aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-05 01:44:10 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-05 17:24:56 +0100
commit88c3d556d552a94aa42eaa2fa43667952e123dc8 (patch)
tree83a41f48883dc70a3610196c166c01a2d77f9993
parente782d5e951e33b31068e0e71e7ce99a88b882544 (diff)
downloadqpdf-88c3d556d552a94aa42eaa2fa43667952e123dc8.tar.zst
Spell check
-rw-r--r--README-maintainer2
-rw-r--r--TODO4
-rw-r--r--cSpell.json5
-rw-r--r--libtests/pointer_holder.cc2
4 files changed, 7 insertions, 6 deletions
diff --git a/README-maintainer b/README-maintainer
index db07a0a7..10d65253 100644
--- a/README-maintainer
+++ b/README-maintainer
@@ -93,7 +93,7 @@ CODING RULES
first at least once, thereby ensuring that it explicitly includes
all the headers it needs, which in turn alleviates lots of header
ordering problems. The blank line ensures that formatters don't
- messt his up by resorting the headers.
+ mess this up by resorting the headers.
* Avoid atoi. Use QUtil::string_to_int instead. It does
overflow/underflow checking.
diff --git a/TODO b/TODO
index 327e53c3..222e200a 100644
--- a/TODO
+++ b/TODO
@@ -344,7 +344,7 @@ PointerHolder to std::shared_ptr
================================
Once all deprecation warnings are cleared up (changing getPointer() to
-get() and getRefcout() to use_count()), the only real issues are that
+get() and getRefcount() to use_count()), the only real issues are that
implicit assignment of a pointer to a shared_ptr doesn't work while it
does for PointerHolder and containers are different. Using auto takes
care of containers.
@@ -402,7 +402,7 @@ Strategy:
* Replace each public API one at a time
* Replace remaining internal uses; sometimes unique_ptr may be good,
particularly for temporary strings that are deleted in the same
- scope and Members for non-copiable classes
+ scope and Members for non-copyable classes
* std::shared_ptr<Members> m can be replaced with
std::shared_ptr<Members> m_ph and Members* m if performance is critical
* Remove #include <PointerHolder.hh> from all headers
diff --git a/cSpell.json b/cSpell.json
index 7332a2ca..1d78754c 100644
--- a/cSpell.json
+++ b/cSpell.json
@@ -63,7 +63,6 @@
"coldwind",
"colorspace",
"conftest",
- "copiable",
"cout",
"cphe",
"cppflags",
@@ -129,7 +128,6 @@
"fuzzer",
"fuzzers",
"fvisibility",
- "iostream",
"gajic",
"gajić",
"gcurl",
@@ -163,6 +161,7 @@
"infilename",
"inheritsresources",
"inpdf",
+ "iostream",
"ioutfilename",
"irdp",
"ischeckbox",
@@ -305,6 +304,7 @@
"pldh",
"pluggable",
"pngify",
+ "pointerholder",
"poppler",
"prebuild",
"precheck",
@@ -373,6 +373,7 @@
"rcon",
"rdpp",
"rdquo",
+ "refcount",
"resave",
"retargeted",
"rfont",
diff --git a/libtests/pointer_holder.cc b/libtests/pointer_holder.cc
index cad299b4..87c1fa07 100644
--- a/libtests/pointer_holder.cc
+++ b/libtests/pointer_holder.cc
@@ -106,7 +106,7 @@ int main(int argc, char* argv[])
callHelloWithGet(ol1.front());
ol1.pop_front();
std::cout << "array" << std::endl;
- PointerHolder<Object> oarr1_ph(true, new Object[2]);
+ PointerHolder<Object> o_arr1_ph(true, new Object[2]);
std::cout << "goodbye" << std::endl;
return 0;
}