From: maier Date: Thu, 1 Aug 2013 23:00:19 +0000 (+0000) Subject: Fix a compilation issue with LLVMs libc++ X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e29686aee8a8051be4c5151c56e5e5d23d34f9e7;p=dealii-svn.git Fix a compilation issue with LLVMs libc++ Due to more restrictive include policy template struct pair is not already defined in std at this point. Unfortunately, a forward declaration is invalid because it doesn't allow for instantiations: "error: implicit instantiation of undefined template" Furthermore, ISO/IEC C++ 2011 Standard, section 17.6.4.2.1 prohibits such manipulation of the namespace std. git-svn-id: https://svn.dealii.org/trunk@30210 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/grid/tria_accessor.h b/deal.II/include/deal.II/grid/tria_accessor.h index e0524d2291..7ff6297f2c 100644 --- a/deal.II/include/deal.II/grid/tria_accessor.h +++ b/deal.II/include/deal.II/grid/tria_accessor.h @@ -26,12 +26,8 @@ #include #include +#include -namespace std -{ - template - struct pair; -} DEAL_II_NAMESPACE_OPEN