Bug 1414198 - Include <functional> in nsNSSCertificate.h r=keeler
authorJ.C. Jones <jjones@mozilla.com>
Fri, 03 Nov 2017 17:11:04 -0700
changeset 443839 9c4b0c5cb5fc9ae20d4a93309c41c902dc3fa45d
parent 443838 7e57b7dbca99c6378534730d6b9ee2dbb4368714
child 443840 b118bcc3fbb2f80e5755ef27c273a2d3fa20c7a1
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskeeler
bugs1414198
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1414198 - Include <functional> in nsNSSCertificate.h r=keeler We've a report of a compilation error on a different system because std::function was undefined. MozReview-Commit-ID: 2MboMUdLzHj
security/manager/ssl/nsNSSCertificate.h
--- a/security/manager/ssl/nsNSSCertificate.h
+++ b/security/manager/ssl/nsNSSCertificate.h
@@ -1,16 +1,18 @@
 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #ifndef nsNSSCertificate_h
 #define nsNSSCertificate_h
 
+#include <functional>
+
 #include "ScopedNSSTypes.h"
 #include "certt.h"
 #include "nsCOMPtr.h"
 #include "nsIASN1Object.h"
 #include "nsIClassInfo.h"
 #include "nsISerializable.h"
 #include "nsISimpleEnumerator.h"
 #include "nsIX509Cert.h"