fix build error on DMD x64

This commit is contained in:
Vadim Lopatin 2016-07-01 16:01:43 +03:00
parent 20f3f26ea1
commit b6875df3d8
1 changed files with 3 additions and 3 deletions

View File

@ -240,9 +240,9 @@ struct EffectId {
bool opEquals(ref const EffectId s) const @safe pure nothrow
{
return
std.string.cmp(this.vertexShaderName, s.vertexShaderName) == 0 &&
std.string.cmp(this.fragmentShaderName, s.fragmentShaderName) == 0 &&
std.string.cmp(this.definitions, s.definitions) == 0;
this.vertexShaderName == s.vertexShaderName &&
this.fragmentShaderName == s.fragmentShaderName &&
this.definitions == s.definitions;
}
}