remove use of auto in TextureBaker for OS X compile

This commit is contained in:
Stephen Birarda 2017-08-29 16:41:02 -07:00
parent f2997c0997
commit 3abca67f1a

View file

@ -47,7 +47,7 @@ const QStringList TextureBaker::getSupportedFormats() {
auto formats = QImageReader::supportedImageFormats();
QStringList stringFormats;
std::transform(formats.begin(), formats.end(), std::back_inserter(stringFormats),
[](auto& format) -> QString { return format; });
[](QByteArray& format) -> QString { return format; });
return stringFormats;
}