Change constructor to use ()s instead of {}s

This commit is contained in:
baldurk 2016-10-13 19:25:52 +02:00
parent ff160f15ef
commit 31d5d48812

View File

@ -666,11 +666,11 @@ void CompileAndLinkShaderFiles()
// they are all getting linked together.) // they are all getting linked together.)
glslang::TWorkItem* workItem; glslang::TWorkItem* workItem;
while (Worklist.remove(workItem)) { while (Worklist.remove(workItem)) {
ShaderCompUnit compUnit = { ShaderCompUnit compUnit(
FindLanguage(workItem->name), FindLanguage(workItem->name),
workItem->name, workItem->name,
ReadFileData(workItem->name.c_str()) ReadFileData(workItem->name.c_str())
}; );
if (! compUnit.text) { if (! compUnit.text) {
usage(); usage();