mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[ion] ion_main takes const arguments
This commit is contained in:
committed by
LeaNumworks
parent
577e7db8dd
commit
758c217120
@@ -44,7 +44,7 @@ bool App::Snapshot::lockOnConsole() const {
|
||||
return m_lockOnConsole;
|
||||
}
|
||||
|
||||
void App::Snapshot::setOpt(const char * name, char * value) {
|
||||
void App::Snapshot::setOpt(const char * name, const char * value) {
|
||||
if (strcmp(name, "script") == 0) {
|
||||
m_scriptStore.deleteAllScripts();
|
||||
char * separator = const_cast<char *>(UTF8Helper::CodePointSearch(value, ':'));
|
||||
|
||||
Reference in New Issue
Block a user