mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Merge pull request #634 from marcrobm/patch-1
Fixed compilation under android ndk, operator "=" was undefined
This commit is contained in:
commit
dfc57edc23
@ -1656,7 +1656,7 @@ namespace crow
|
||||
}
|
||||
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));
|
||||
#else
|
||||
(*o) = initializer_list;
|
||||
|
Loading…
Reference in New Issue
Block a user