[Positioner] UserInterface: use const argc & argv
This commit is contained in:
parent
c358b6e6c7
commit
6cffd61b0c
|
@ -32,7 +32,7 @@
|
||||||
using namespace std ;
|
using namespace std ;
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(const int argc, const char **const argv)
|
||||||
{
|
{
|
||||||
owl_run = true ;
|
owl_run = true ;
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
class UserInterface
|
class UserInterface
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
int cli_argument_count ;
|
const int cli_argument_count ;
|
||||||
char **cli_argument_values ;
|
const char **const cli_argument_values ;
|
||||||
boost::program_options::options_description *cli_options ;
|
boost::program_options::options_description *cli_options ;
|
||||||
boost::program_options::options_description *file_options ;
|
boost::program_options::options_description *file_options ;
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ protected:
|
||||||
//@}
|
//@}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
UserInterface(const int argc, char **argv) ;
|
UserInterface(const int argc, const char **const argv) ;
|
||||||
|
|
||||||
~UserInterface(void) ;
|
~UserInterface(void) ;
|
||||||
} ;
|
} ;
|
||||||
|
|
Loading…
Reference in New Issue