[cig-commits] [commit] next: Do not forward declare C++ things from std:: (434ba5c)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Jan 14 07:52:53 PST 2015
Repository : https://github.com/geodynamics/pylith
On branch : next
Link : https://github.com/geodynamics/pylith/compare/c123763d436f8c5aef87fd3db587aa91f85d692a...af3aa353d3c5d366db820bb47495c339157af164
>---------------------------------------------------------------
commit 434ba5cad83ab02d5da06c0bfe927b11802f3969
Author: Matthew G. Knepley <knepley at gmail.com>
Date: Wed Jan 14 09:50:05 2015 -0600
Do not forward declare C++ things from std::
>---------------------------------------------------------------
434ba5cad83ab02d5da06c0bfe927b11802f3969
libsrc/pylith/utils/arrayfwd.hh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libsrc/pylith/utils/arrayfwd.hh b/libsrc/pylith/utils/arrayfwd.hh
index 1e255cc..9603609 100644
--- a/libsrc/pylith/utils/arrayfwd.hh
+++ b/libsrc/pylith/utils/arrayfwd.hh
@@ -37,6 +37,7 @@
#include <vector> // USES std::vector
#include <valarray> // USES std::valarray
+#if 0
/// Forward declaration of STL vector
namespace std {
// std::vector
@@ -46,6 +47,7 @@ namespace std {
// std::valarray
template<typename T> class valarray;
} // std
+#endif
/// Aliases
namespace pylith {
More information about the CIG-COMMITS
mailing list