Skip to content

Commit

Permalink
Merge pull request #634 from marcrobm/patch-1
Browse files Browse the repository at this point in the history
Fixed compilation under android ndk, operator "=" was undefined
  • Loading branch information
The-EDev authored May 14, 2023
2 parents 3b81e16 + 4eb78bb commit dfc57ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/crow/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dfc57ed

Please sign in to comment.