mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-24 23:15:41 -04:00
Fix Android armv7 compilation due to narrowing
This commit is contained in:
parent
f456389580
commit
4f0e18cbfd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue