Use const unsigned char* for sourcepos

This commit is contained in:
smallmodel 2023-10-27 19:59:29 +02:00
parent bb97ec8933
commit 6d6043775e
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -1544,7 +1544,7 @@ size_t ScriptCompiler::Compile(GameScript *gameScript, unsigned char *progBuffer
code_ptr = progBuffer;
prog_ptr = progBuffer;
gameScript->m_ProgToSource = new con_set<unsigned char *, sourceinfo_t>;
gameScript->m_ProgToSource = new con_set<const unsigned char *, sourceinfo_t>;
compileSuccess = true;