diff --git a/src/headers/transpiler/Target.hpp b/src/headers/transpiler/Target.hpp index d875d79..1a7d3b5 100644 --- a/src/headers/transpiler/Target.hpp +++ b/src/headers/transpiler/Target.hpp @@ -95,7 +95,7 @@ inline string transpile(const ParseTree& tree, const string_view& language, cons #include "implementations/Py.hpp" enum LANGUAGE: signed short { NONE = -1, LUA, JS, PY }; -constinit array languages { ".lua", ".js", ".py"}; +constinit const array languages { ".lua", ".js", ".py"}; shared_ptr Target::forName(string_view name, const bool newLines = true) { LANGUAGE selected = NONE;