From: maier Date: Wed, 31 Jul 2013 08:54:27 +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=440640f43818d2536ebb528e77c9da8c342ab36f;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/branches/branch_port_to_libcxx@30189 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