From 0938f7f8a5d9dc6f9cab0150012c605ad8d89bb0 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Thu, 26 Mar 2015 22:12:55 +0100 Subject: [PATCH] [DEV] add const in init --- etk/etk.cpp | 2 +- etk/etk.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etk/etk.cpp b/etk/etk.cpp index 520d12a..9367633 100644 --- a/etk/etk.cpp +++ b/etk/etk.cpp @@ -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) { diff --git a/etk/etk.h b/etk/etk.h index cfe3a95..6c8dc5b 100644 --- a/etk/etk.h +++ b/etk/etk.h @@ -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