Use std::string_view instead of C string

Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
This commit is contained in:
Michael Steenbeekandζeh Matt authored and GitHub committed 2021-09-12 18:45:53 +02:00
1 parent 6202ecb281
commit 5d039a5f55
1 file changed
+1 -1
@@ -60,7 +60,7 @@ namespace OpenRCT2::Scripting
static std::string_view ObjectTypeToString(uint8_t type)
{
static const char* Types[] = {
static constexpr std::string_view Types[] = {
"ride",
"small_scenery",
"large_scenery",