diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-02-17 15:55:50 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-03-05 18:04:57 +0200 |
commit | e5dcd9fc161891a4e70364e1dcdf232590eb49c6 (patch) | |
tree | b30bc28a7ff9c2a62cf586e54b047e91afdeec79 /core/dive.h | |
parent | f5eafe2a713998b345027373a26ad73af9e060b5 (diff) | |
download | subsurface-e5dcd9fc161891a4e70364e1dcdf232590eb49c6.tar.gz |
Cleanup: pass QString and QByteArray const-refs to qthelper functions
Passing of QStrings and QByteArrays was inconsistent in qthelper.cpp.
Unify to passing const-references. Passing by value is no big deal, since
QString and QByteArray do copy-on-write "optimization". Nevertheless, let's
keep it as consistent and effective as possible.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.h')
0 files changed, 0 insertions, 0 deletions