diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-26 04:34:34 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-26 04:34:34 +0000 |
commit | ef48a8cffa1d5ba27ed49654f9e02eed29756a4c (patch) | |
tree | 11bf771c96390e23b5c2765dcc17e8f7dde6a482 /devel/ccdoc | |
parent | 8a8884f308b5dc596ff03d6227d7eb50815a9db5 (diff) | |
download | ports-ef48a8cffa1d5ba27ed49654f9e02eed29756a4c.tar.gz ports-ef48a8cffa1d5ba27ed49654f9e02eed29756a4c.zip |
Notes
Diffstat (limited to 'devel/ccdoc')
-rw-r--r-- | devel/ccdoc/files/patch-log.cc | 29 | ||||
-rw-r--r-- | devel/ccdoc/files/patch-log.h | 10 |
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*); |