mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Fixed compilation under android ndk, operator = was undefined
This commit is contained in:
parent
3b81e16614
commit
4eb78bb366
@ -1656,7 +1656,7 @@ namespace crow
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#if defined(__APPLE__) || defined(__MACH__) || defined (__FreeBSD__)
|
#if defined(__APPLE__) || defined(__MACH__) || defined (__FreeBSD__) || defined (__ANDROID__)
|
||||||
o = std::unique_ptr<object>(new object(initializer_list));
|
o = std::unique_ptr<object>(new object(initializer_list));
|
||||||
#else
|
#else
|
||||||
(*o) = initializer_list;
|
(*o) = initializer_list;
|
||||||
|
Loading…
Reference in New Issue
Block a user