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.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/test-server/test-server-main.cpp b/tools/test-server/test-server-main.cpp
index 904a8db20..b37f8b29f 100644
--- a/tools/test-server/test-server-main.cpp
+++ b/tools/test-server/test-server-main.cpp
@@ -185,10 +185,8 @@ SlangResult TestServer::init(int argc, const char* const* argv)
TestServer::~TestServer()
{
- for (auto& pair : m_unitTestModules)
- {
- pair.value->destroy();
- }
+ for (auto& [_, value] : m_unitTestModules)
+ value->destroy();
}
slang::IGlobalSession* TestServer::getOrCreateGlobalSession()