[Positioner] UserInterface: use const argc & argv

This commit is contained in:
Matteo Cypriani 2013-06-17 15:54:42 -04:00
parent c358b6e6c7
commit 6cffd61b0c
2 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@
using namespace std ;
int main(int argc, char **argv)
int main(const int argc, const char **const argv)
{
owl_run = true ;

View File

@ -22,8 +22,8 @@
class UserInterface
{
protected:
int cli_argument_count ;
char **cli_argument_values ;
const int cli_argument_count ;
const char **const cli_argument_values ;
boost::program_options::options_description *cli_options ;
boost::program_options::options_description *file_options ;
@ -55,7 +55,7 @@ protected:
//@}
public:
UserInterface(const int argc, char **argv) ;
UserInterface(const int argc, const char **const argv) ;
~UserInterface(void) ;
} ;