fixup! Support gcc build for chromium-efl. 11/307511/3
authorChandan Padhi <c.padhi@samsung.com>
Mon, 11 Mar 2024 10:17:21 +0000 (15:47 +0530)
committerDae-Hyun Ko <dhyuna.ko@samsung.com>
Mon, 11 Mar 2024 23:46:57 +0000 (23:46 +0000)
This commit fixes desktop build error.

Change-Id: Id0bf427503103b0a1bba73186ee00aa0aee130f6
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
components/autofill/core/browser/webdata/autofill_table.cc

index 44bd71b..e7c30b9 100644 (file)
@@ -1744,15 +1744,18 @@ std::unique_ptr<AutofillProfile> AutofillTable::GetAutofillProfile(
     int status;
     // Serialized observations for the stored type.
     std::vector<uint8_t> serialized_data;
-    
-    FieldTypeData(autofill::ServerFieldType& type, 
-                   std::__cxx11::basic_string<char16_t> value, int status, 
-                   std::vector<unsigned char> serialized_data) {
+
+#if !defined(__clang__)
+    FieldTypeData(autofill::ServerFieldType& type,
+                  std::__cxx11::basic_string<char16_t> value,
+                  int status,
+                  std::vector<unsigned char> serialized_data) {
       type = type;
       value = value;
       status = status;
       serialized_data = serialized_data;
     }
+#endif
   };
 
   std::vector<FieldTypeData> field_type_values;