nixpkgs/pkgs/os-specific/darwin/apple-source-releases/libsecurity_cdsa_utilities/handletemplates.patch

20 lines
623 B
Diff
Raw Normal View History

2015-06-22 04:29:33 +01:00
--- a/lib/handletemplates.h 1969-12-31 16:00:01.000000000 -0800
+++ b/lib/handletemplates.h 1969-12-31 16:00:01.000000000 -0800
@@ -32,6 +32,7 @@
#include <security_utilities/threading.h>
#include <security_utilities/globalizer.h>
#include <security_cdsa_utilities/cssmerrors.h>
+#include <vector>
#if __GNUC__ > 2
#include <ext/hash_map>
@@ -129,7 +130,7 @@
// @@@ Remove when 4003540 is fixed
template <class Subtype>
static void findAllRefs(std::vector<_Handle> &refs) {
- state().findAllRefs<Subtype>(refs);
+ state().template findAllRefs<Subtype>(refs);
}
protected: