diff options
author | James R. Barlow <jim@purplerock.ca> | 2018-11-21 17:46:08 -0800 |
---|---|---|
committer | James R. Barlow <jim@purplerock.ca> | 2018-11-21 17:46:08 -0800 |
commit | 1cfd5adc28a62abc01e7b74a1617638a8c22808e (patch) | |
tree | cdc5394b4a292e44ef2df2e5f5bc4407e9cf2886 /setup.cfg | |
parent | d99a304e74001fba457be8861ae89b25785c11ba (diff) |
Improve const-correctness policy
Change convention to passing QPDFObjectHandle by value, removing
some cases where we use const_cast to add const and some
cases where a reference was used for a efficiency alone. It seems
more clear to pass by value as a
way of expressing that the passed object is not modified.
At the same time, enforce const more strongly for code that deals
with pybind11 which is const-correct.
Exempt from this change is our custom type converter.
Diffstat (limited to 'setup.cfg')
0 files changed, 0 insertions, 0 deletions