summaryrefslogtreecommitdiffstats
path: root/source/compiler-core
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler-core')
-rw-r--r--source/compiler-core/slang-source-embed-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler-core/slang-source-embed-util.cpp b/source/compiler-core/slang-source-embed-util.cpp
index ec0c005cf..45fd9c4b3 100644
--- a/source/compiler-core/slang-source-embed-util.cpp
+++ b/source/compiler-core/slang-source-embed-util.cpp
@@ -73,7 +73,7 @@ static bool _isHeaderExtension(const UnownedStringSlice& in)
// Assume it's a header, and just use the .h extension
StringBuilder buf;
buf << path << toSlice(".h");
- return buf;
+ return std::move(buf);
}
/* static */SourceEmbedUtil::Style SourceEmbedUtil::getDefaultStyle(const ArtifactDesc& desc)