From 0c2498fe2fe5559e79138508070cf3b0fa3d0f57 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 1 Jan 2019 13:55:12 +0000 Subject: [PATCH] Explicit instantiation needed for NVCC --- Grid/pugixml/pugixml.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Grid/pugixml/pugixml.cc b/Grid/pugixml/pugixml.cc index dd08092c..a6402819 100644 --- a/Grid/pugixml/pugixml.cc +++ b/Grid/pugixml/pugixml.cc @@ -14,7 +14,7 @@ #ifndef SOURCE_PUGIXML_CPP #define SOURCE_PUGIXML_CPP -#include +#include "pugixml.hpp" #include #include @@ -202,7 +202,7 @@ PUGI__NS_BEGIN // Without a template<> we'll get multiple definitions of the same static template allocation_function xml_memory_management_function_storage::allocate = default_allocate; template deallocation_function xml_memory_management_function_storage::deallocate = default_deallocate; - + template struct xml_memory_management_function_storage; typedef xml_memory_management_function_storage xml_memory; PUGI__NS_END