[DEV] add const in init
This commit is contained in:
parent
a06aee64cc
commit
0938f7f8a5
@ -32,7 +32,7 @@ static etk::log::level getLogLevel(const std::string& _value) {
|
|||||||
return etk::log::logLevelVerbose;
|
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)");
|
TK_INFO("E-TK system init (BEGIN)");
|
||||||
etk::setArgZero(_argv[0]);
|
etk::setArgZero(_argv[0]);
|
||||||
for (int32_t iii=0; iii<_argc ; ++iii) {
|
for (int32_t iii=0; iii<_argc ; ++iii) {
|
||||||
|
@ -15,7 +15,7 @@ namespace etk {
|
|||||||
* @param[in] _argc Number of argument list
|
* @param[in] _argc Number of argument list
|
||||||
* @param[in] _argv List of arguments
|
* @param[in] _argv List of arguments
|
||||||
*/
|
*/
|
||||||
void init(int _argc, char** _argv);
|
void init(int _argc, const char** _argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user