[DEV] add const in init

This commit is contained in:
Edouard DUPIN 2015-03-26 22:12:55 +01:00
parent a06aee64cc
commit 0938f7f8a5
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ static etk::log::level getLogLevel(const std::string& _value) {
return etk::log::logLevelVerbose;
}
void etk::init(int _argc, char** _argv) {
void etk::init(int _argc, const char** _argv) {
TK_INFO("E-TK system init (BEGIN)");
etk::setArgZero(_argv[0]);
for (int32_t iii=0; iii<_argc ; ++iii) {

View File

@ -15,7 +15,7 @@ namespace etk {
* @param[in] _argc Number of argument list
* @param[in] _argv List of arguments
*/
void init(int _argc, char** _argv);
void init(int _argc, const char** _argv);
}
#endif