From 3d219b9a1ce581a14f02a2aa5a8ef40809f14b9e Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 14 Sep 2024 19:15:41 +0300 Subject: [PATCH] fix msvc build --- src/data/StructLayout.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/StructLayout.hpp b/src/data/StructLayout.hpp index 35942457..c0d27229 100644 --- a/src/data/StructLayout.hpp +++ b/src/data/StructLayout.hpp @@ -15,7 +15,7 @@ namespace data { COUNT }; - inline const char* to_string(FieldType type) { + inline std::string to_string(FieldType type) { const char* names[] = { "int8", "int16", "int32", "int64", "float32", "float64", "char" };