Cleanup: remove const bool parameters and return types

These just make no sense. Since the value is copied, it
has no meaning to the caller whether the function can
change the value (and vice versa for return types).

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2020-02-06 22:56:10 +01:00 committed by Dirk Hohndel
parent ee839bf686
commit 8391d926c7
13 changed files with 17 additions and 17 deletions

View file

@ -7,9 +7,9 @@
struct dive_site;
void exportProfile(QString filename, const bool selected_only);
void export_TeX(const char *filename, const bool selected_only, bool plain);
void export_depths(const char *filename, const bool selected_only);
void exportProfile(QString filename, bool selected_only);
void export_TeX(const char *filename, bool selected_only, bool plain);
void export_depths(const char *filename, bool selected_only);
std::vector<const dive_site *> getDiveSitesToExport(bool selectedOnly);
QFuture<int> exportUsingStyleSheet(QString filename, bool doExport, int units, QString stylesheet, bool anonymize);