Avoid ambiguous call to log on Windows.

This commit is contained in:
Andrzej Kapolka 2014-06-04 17:39:42 -07:00
parent 97dd90507b
commit 9ec2a5aec1

View file

@ -720,7 +720,7 @@ Bitstream& Bitstream::operator<(const TypeStreamer* streamer) {
}
static int getBitsForHighestValue(int highestValue) {
return (highestValue == 0) ? 0 : 1 + (int)(log(highestValue) / log(2.0));
return (highestValue == 0) ? 0 : 1 + (int)(glm::log(highestValue) / glm::log(2.0));
}
Bitstream& Bitstream::operator>(TypeReader& reader) {