Merge pull request #634 from marcrobm/patch-1

Fixed compilation under android ndk, operator "=" was undefined
This commit is contained in:
Farook Al-Sammarraie 2023-05-14 14:08:11 +03:00 committed by GitHub
commit dfc57edc23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;