Fix g++ complaint about taking address of temporary.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23410 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
b5af825841
commit
7ea2f9c39f
@ -869,7 +869,9 @@ TFunction* TParseContext::handleConstructorCall(TSourceLoc loc, TPublicType& pub
|
|||||||
type.shallowCopy(errorType);
|
type.shallowCopy(errorType);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new TFunction(&TString(""), type, op);
|
TString empty("");
|
||||||
|
|
||||||
|
return new TFunction(&empty, type, op);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user