summaryrefslogtreecommitdiffstats
path: root/source/compiler-core/slang-perfect-hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core/slang-perfect-hash.cpp')
-rw-r--r--source/compiler-core/slang-perfect-hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-perfect-hash.cpp b/source/compiler-core/slang-perfect-hash.cpp
index bfe8d4876..d5c4902ed 100644
--- a/source/compiler-core/slang-perfect-hash.cpp
+++ b/source/compiler-core/slang-perfect-hash.cpp
@@ -208,7 +208,7 @@ String perfectHashToEmbeddableCpp(
line("}");
line("");
- return sb;
+ return sb.produceString();
}
}