From 4eb78bb366dcfd03e192394dfde1ae0f45432813 Mon Sep 17 00:00:00 2001 From: Marc Robert Date: Fri, 12 May 2023 00:49:57 +0200 Subject: [PATCH] Fixed compilation under android ndk, operator = was undefined --- include/crow/json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/crow/json.h b/include/crow/json.h index ee1220fd1..46abccf68 100644 --- a/include/crow/json.h +++ b/include/crow/json.h @@ -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(new object(initializer_list)); #else (*o) = initializer_list;