aboutsummaryrefslogtreecommitdiff
path: root/devel/ccdoc/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ccdoc/files')
-rw-r--r--devel/ccdoc/files/patch-log.cc29
-rw-r--r--devel/ccdoc/files/patch-log.h10
2 files changed, 39 insertions, 0 deletions
diff --git a/devel/ccdoc/files/patch-log.cc b/devel/ccdoc/files/patch-log.cc
new file mode 100644
index 000000000000..70deb9db170d
--- /dev/null
+++ b/devel/ccdoc/files/patch-log.cc
@@ -0,0 +1,29 @@
+log.cc:236:8: error: invalid operands to binary expression ('std::__1::ostream' (aka 'basic_ostream<char>') and 'std::__1::ostream')
+ (*os) << fct( *os );
+ ~~~~~ ^ ~~~~~~~~~~
+
+Never used
+
+--- log.cc.orig 2018-08-26 04:28:55 UTC
++++ log.cc
+@@ -225,20 +225,6 @@ ccdoc::log& ccdoc::log::operator << (const vector<stri
+ return *this;
+ }
+ // ================================================================
+-// operator <<
+-// ================================================================
+-ccdoc::log& ccdoc::log::operator << (ostream& (fct)(ostream&) ) {
+- if(m_output_flag) {
+- vector<ostream*>::iterator i = m_os.begin();
+- for( ; i!=m_os.end(); ++i) {
+- ostream* os = *i;
+- if(os)
+- (*os) << fct( *os );
+- }
+- }
+- return *this;
+-}
+-// ================================================================
+ // Warning
+ // ================================================================
+ ccdoc::log& ccdoc::log::warning() {
diff --git a/devel/ccdoc/files/patch-log.h b/devel/ccdoc/files/patch-log.h
new file mode 100644
index 000000000000..b99651b211a2
--- /dev/null
+++ b/devel/ccdoc/files/patch-log.h
@@ -0,0 +1,10 @@
+--- log.h.orig 2018-08-26 04:31:27 UTC
++++ log.h
+@@ -69,7 +69,6 @@ namespace ccdoc {
+ log& operator << (unsigned int);
+ log& operator << (long);
+ log& operator << (unsigned long);
+- log& operator << (ostream& (fct)(ostream&));
+ log& operator << (log& x) {return x;}
+ log& flush();
+ void insert(ostream*);