mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
41 lines
1.6 KiB
Diff
41 lines
1.6 KiB
Diff
From 1e9b3f1552dc88531eaaf7c785807a1941ca1269 Mon Sep 17 00:00:00 2001
|
|
From: Jose Dapena Paz <jose.dapena@lge.com>
|
|
Date: Mon, 5 Mar 2018 14:19:54 +0000
|
|
Subject: [PATCH 04/10] GCC build fix: base::Optional<T> requires the full
|
|
declaration of T
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
In GCC 7.2/7.3, base::Optional<T> fails to compile, if T has still
|
|
only been forward declared, as it cannot properly resolve the
|
|
is_trivially_* declarations. In this case it is needed to include the
|
|
full declaration of the type, and not only the forward declaration.
|
|
|
|
Change-Id: I63e5c6307394c6c2eda6af108c80395152bfc04f
|
|
Reviewed-on: https://chromium-review.googlesource.com/944401
|
|
Commit-Queue: José Dapena Paz <jose.dapena@lge.com>
|
|
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
|
|
Cr-Commit-Position: refs/heads/master@{#540815}
|
|
---
|
|
services/preferences/tracked/pref_hash_filter.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/services/preferences/tracked/pref_hash_filter.h b/services/preferences/tracked/pref_hash_filter.h
|
|
index bdc9b621c9b7..526c53f614db 100644
|
|
--- a/services/preferences/tracked/pref_hash_filter.h
|
|
+++ b/services/preferences/tracked/pref_hash_filter.h
|
|
@@ -21,9 +21,9 @@
|
|
#include "services/preferences/public/interfaces/preferences.mojom.h"
|
|
#include "services/preferences/tracked/hash_store_contents.h"
|
|
#include "services/preferences/tracked/interceptable_pref_filter.h"
|
|
+#include "services/preferences/tracked/pref_hash_store.h"
|
|
#include "services/preferences/tracked/tracked_preference.h"
|
|
|
|
-class PrefHashStore;
|
|
class PrefService;
|
|
|
|
namespace base {
|
|
--
|
|
2.16.2
|
|
|