X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Scheduler%2FConsole%2FProgramOptions.ih;h=7bbbf0cc3131b935e1b6573227bfacdb9fda2d5e;hb=9eef67d8d72e604a938c0335a7d8230a0fb630ca;hp=e02d1745eef7bf328c4508adbd66d61bddf9f10f;hpb=2da517bbcdb2af10d2322fc762ca27774b53b435;p=senf.git diff --git a/Scheduler/Console/ProgramOptions.ih b/Scheduler/Console/ProgramOptions.ih index e02d174..7bbbf0c 100644 --- a/Scheduler/Console/ProgramOptions.ih +++ b/Scheduler/Console/ProgramOptions.ih @@ -23,8 +23,8 @@ /** \file \brief ProgramOptions internal header */ -#ifndef IH_ProgramOptions_ -#define IH_ProgramOptions_ 1 +#ifndef IH_SENF_Scheduler_Console_ProgramOptions_ +#define IH_SENF_Scheduler_Console_ProgramOptions_ 1 // Custom includes #include @@ -43,14 +43,14 @@ namespace detail { public: typedef boost::intrusive_ptr ptr; - static ptr create(int argc, char ** argv); + static ptr create(int argc, char const ** argv); template ProgramOptionsSource & nonOptions(Container & container); ProgramOptionsSource & alias(char letter, std::string const & longOpt, bool withArg=false); private: - ProgramOptionsSource(int argc, char ** argv); + ProgramOptionsSource(int argc, char const ** argv); virtual void v_parse(RestrictedExecutor & executor); @@ -86,7 +86,7 @@ namespace detail { typedef std::map ShortOptions; int argc_; - char ** argv_; + char const ** argv_; CommandParser parser_; ShortOptions shortOptions_; boost::scoped_ptr nonOptions_;