summaryrefslogtreecommitdiffstats
path: root/tools/test-server/test-server-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test-server/test-server-main.cpp')
-rw-r--r--tools/test-server/test-server-main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-server/test-server-main.cpp b/tools/test-server/test-server-main.cpp
index ba77d9c84..bfc96af9a 100644
--- a/tools/test-server/test-server-main.cpp
+++ b/tools/test-server/test-server-main.cpp
@@ -114,7 +114,9 @@ SlangResult innerMain(StdWriters* stdWriters, slang::IGlobalSession* sharedSessi
}
ComPtr<slang::ICompileRequest> compileRequest;
+ SLANG_ALLOW_DEPRECATED_BEGIN
SLANG_RETURN_ON_FAIL(session->createCompileRequest(compileRequest.writeRef()));
+ SLANG_ALLOW_DEPRECATED_END
// Do any app specific configuration
for (int i = 0; i < int{SLANG_WRITER_CHANNEL_COUNT_OF}; ++i)