From 79b1219d1d6d1547c977050b28e7f4e12a7cc937 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Fri, 9 Oct 2015 12:41:05 +0000 Subject: Fix clang compile failure - must include iostream to redefine operator<< git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@846 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: c3c719704415bcd8660123212817eb9ce42c5d2a --- src/Contraction/include/gudhi/Contraction/Edge_profile.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Contraction') diff --git a/src/Contraction/include/gudhi/Contraction/Edge_profile.h b/src/Contraction/include/gudhi/Contraction/Edge_profile.h index b6dfd63b..90ca6cdf 100644 --- a/src/Contraction/include/gudhi/Contraction/Edge_profile.h +++ b/src/Contraction/include/gudhi/Contraction/Edge_profile.h @@ -23,6 +23,8 @@ #ifndef CONTRACTION_EDGE_PROFILE_H_ #define CONTRACTION_EDGE_PROFILE_H_ +#include + namespace Gudhi { namespace contraction { @@ -93,9 +95,8 @@ template class Edge_profile { return complex_.point(v1_handle()); } - friend std::ostream& operator<<(std::ostream& o, const Edge_profile & v) { - o << "v0:" << v.v0_handle() << " v1:" << v.v1_handle(); - return o; + friend std::ostream& operator<<(std::ostream& o, const Edge_profile& v) { + return o << "v0:" << v.v0_handle() << " v1:" << v.v1_handle(); } private: -- cgit v1.2.3