Skip to content

Commit bf220c4

Browse files
multiple sources: change remove const from argv
1 parent a4b3669 commit bf220c4

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/FalcoConfig.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ strip_path(string full_path) {
308308
/******************** FALCOCONFIG FUNCTIONS *************************/
309309
/********************************************************************/
310310
// Default config properties
311-
FalcoConfig::FalcoConfig(const int argc, const char **argv) {
311+
FalcoConfig::FalcoConfig(const int argc, char *argv[]) {
312312
casava = false;
313313
nanopore = false;
314314
nofilter = false;

src/FalcoConfig.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
// config from options, constants, magic numbers, etc
3232
struct FalcoConfig {
3333
static const std::string FalcoVersion;
34-
FalcoConfig(const int argc, const char **argv);
34+
FalcoConfig(const int argc, char *argv[]);
3535

3636
/************************************************************
3737
*************** FASTQC OPTION PARSER************************

src/OptionParser.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ read_config_file(const string &config_filename,
410410
}
411411

412412
void
413-
OptionParser::parse(const int argc, const char **argv,
413+
OptionParser::parse(const int argc, char *argv[],
414414
vector<string> &arguments) {
415415
// The "2" below corresponds to the "about" and "help" options
416416
assert(options.size() >= 2);
@@ -454,7 +454,7 @@ OptionParser::parse(const int argc, const char **argv,
454454
}
455455

456456
void
457-
OptionParser::parse(const int argc, const char **argv,
457+
OptionParser::parse(const int argc, char *argv[],
458458
vector<string> &arguments, string config_filename) {
459459
// The "2" below corresponds to the "about" and "help" options
460460
assert(options.size() >= 2);

src/OptionParser.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ class OptionParser {
107107
void add_opt(const std::string l_name, const char s_name,
108108
const std::string descr, const bool reqd, char &val);
109109

110-
void parse(const int argc, const char **argv,
110+
void parse(const int argc, char *argv[],
111111
std::vector<std::string> &arguments);
112112

113-
void parse(const int argc, const char **argv,
113+
void parse(const int argc, char *argv[],
114114
std::vector<std::string> &arguments,
115115
std::string config_filename);
116116

src/falco.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ file_exists(const std::string &file_name) {
267267
}
268268

269269
int
270-
main(int argc, const char **argv) {
270+
main(int argc, char *argv[]) {
271271

272272
try {
273273
static const std::string FALCO_VERSION =

0 commit comments

Comments
 (0)