mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Fix Android armv7 compilation due to narrowing
This commit is contained in:
parent
f456389580
commit
4f0e18cbfd
@ -80,7 +80,7 @@ struct t_RsLogger : std::ostringstream
|
|||||||
/* Combine initializer list and comma operator so the compiler unpack
|
/* Combine initializer list and comma operator so the compiler unpack
|
||||||
* template arguments and feed our own stream without recursion
|
* template arguments and feed our own stream without recursion
|
||||||
* see https://stackoverflow.com/a/27375675 */
|
* see https://stackoverflow.com/a/27375675 */
|
||||||
using expander = char[];
|
using expander = int[];
|
||||||
(void) expander {0, (void((*this) << std::forward<Args>(args)), 0)...};
|
(void) expander {0, (void((*this) << std::forward<Args>(args)), 0)...};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user