Fix Android armv7 compilation due to narrowing

This commit is contained in:
Gioacchino Mazzurco 2020-06-09 20:02:40 +02:00
parent f456389580
commit 4f0e18cbfd
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -80,7 +80,7 @@ struct t_RsLogger : std::ostringstream
/* Combine initializer list and comma operator so the compiler unpack
* template arguments and feed our own stream without recursion
* see https://stackoverflow.com/a/27375675 */
using expander = char[];
using expander = int[];
(void) expander {0, (void((*this) << std::forward<Args>(args)), 0)...};
}