From 31d5d488125f784d0c7a64fb0af6e66e60033935 Mon Sep 17 00:00:00 2001 From: baldurk <baldurk@baldurk.org> Date: Thu, 13 Oct 2016 19:25:52 +0200 Subject: [PATCH] Change constructor to use ()s instead of {}s --- StandAlone/StandAlone.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp index 5d30ac2be..cc38f2c8f 100644 --- a/StandAlone/StandAlone.cpp +++ b/StandAlone/StandAlone.cpp @@ -666,11 +666,11 @@ void CompileAndLinkShaderFiles() // they are all getting linked together.) glslang::TWorkItem* workItem; while (Worklist.remove(workItem)) { - ShaderCompUnit compUnit = { + ShaderCompUnit compUnit( FindLanguage(workItem->name), workItem->name, ReadFileData(workItem->name.c_str()) - }; + ); if (! compUnit.text) { usage(); -- GitLab