From 49e19243fdfe8c71a499672c02d3564935be8605 Mon Sep 17 00:00:00 2001 From: Jeff Walden Date: Mon, 1 May 2017 19:40:16 -0700 Subject: [PATCH] Give a local anonymous struct a name, in order to work around a toolchain compiler deficiency of the browser rooting-hazard-analysis setup. No bug, r=sfink over IRC --- .../components/url-classifier/tests/gtest/TestFindFullHash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/url-classifier/tests/gtest/TestFindFullHash.cpp b/toolkit/components/url-classifier/tests/gtest/TestFindFullHash.cpp index 5e9be3a48216..a6c72c5577cd 100644 --- a/toolkit/components/url-classifier/tests/gtest/TestFindFullHash.cpp +++ b/toolkit/components/url-classifier/tests/gtest/TestFindFullHash.cpp @@ -123,7 +123,7 @@ void PopulateDuration(Duration& aDest, const MyDuration& aSrc) // The expected match data. static MyDuration EXPECTED_MIN_WAIT_DURATION = { 12, 10 }; static MyDuration EXPECTED_NEG_CACHE_DURATION = { 120, 9 }; -static const struct { +static const struct ExpectedMatch { nsCString mCompleteHash; ThreatType mThreatType; MyDuration mPerHashCacheDuration;