2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-05-29 00:10:54 +00:00

Spell check

This commit is contained in:
Jay Berkenbilt 2022-02-04 19:44:10 -05:00
parent e782d5e951
commit 88c3d556d5
4 changed files with 7 additions and 6 deletions

View File

@ -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.

4
TODO
View File

@ -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

View File

@ -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",

View File

@ -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;
}