gdl/gdl-gcc6.patch
2016-03-03 17:20:30 -07:00

32 lines
1.2 KiB
Diff

diff -up gdl-0.9.6/src/specializations.hpp.gcc6 gdl-0.9.6/src/specializations.hpp
--- gdl-0.9.6/src/specializations.hpp.gcc6 2015-08-24 15:26:47.000000000 -0600
+++ gdl-0.9.6/src/specializations.hpp 2016-03-03 16:30:46.694379312 -0700
@@ -534,16 +534,6 @@ void Data_<SpDString>::MinMax( DLong* mi
// default_io.cpp
template<>
-std::istream& operator>>(std::istream& i, Data_<SpDFloat>& data_);
-template<>
-std::istream& operator>>(std::istream& i, Data_<SpDDouble>& data_);
-template<>
-std::istream& operator>>(std::istream& i, Data_<SpDComplex>& data_);
-template<>
-std::istream& operator>>(std::istream& i, Data_<SpDComplexDbl>& data_);
-template<>
-std::istream& operator>>(std::istream& is, Data_<SpDString>& data_);
-template<>
std::ostream& Data_<SpDLong>::ToStream(std::ostream& o, SizeT w, SizeT* actPosPtr);
template<>
std::ostream& Data_<SpDULong>::ToStream(std::ostream& o, SizeT w, SizeT* actPosPtr);
--- gdl-0.9.6/src/typedefs.hpp.gcc6 2014/08/09 15:33:29 1.76
+++ gdl-0.9.6/src/typedefs.hpp 2016/02/04 22:48:46 1.77
@@ -235,7 +235,7 @@
Guard& operator=( Guard& r)
{
- if( &r == this) return;
+ if( &r == this) return *this;
delete guarded;
guarded = r.guarded;
r.guarded = NULL;