Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/appl_grid/appl_grid.h b/appl_grid/appl_grid.h 2index 5059622..a0651c9 100644 3--- a/appl_grid/appl_grid.h 4+++ b/appl_grid/appl_grid.h 5@@ -56,7 +56,7 @@ public: 6 class exception : public std::exception { 7 public: 8 exception(const std::string& s) { std::cerr << what() << " " << s << std::endl; }; 9- exception(std::ostream& s) { std::cerr << what() << " " << s << std::endl; }; 10+ exception(std::ostream& s) { s << what() << " " << std::endl; }; 11 virtual const char* what() const throw() { return "appl::grid::exception"; } 12 }; 13 14diff --git a/appl_grid/appl_pdf.h b/appl_grid/appl_pdf.h 15index c71fd84..2525527 100644 16--- a/appl_grid/appl_pdf.h 17+++ b/appl_grid/appl_pdf.h 18@@ -51,7 +51,7 @@ public: 19 class exception : public std::exception { 20 public: 21 exception(const std::string& s="") { std::cerr << what() << " " << s << std::endl; }; 22- exception(std::ostream& s) { std::cerr << what() << " " << s << std::endl; }; 23+ exception(std::ostream& s) { s << " " << std::endl; }; 24 const char* what() const throw() { return "appl::appl_pdf::exception "; } 25 }; 26 27diff --git a/src/appl_igrid.h b/src/appl_igrid.h 28index d25288e..be354df 100644 29--- a/src/appl_igrid.h 30+++ b/src/appl_igrid.h 31@@ -52,7 +52,7 @@ private: 32 class exception { 33 public: 34 exception(const std::string& s) { std::cerr << s << std::endl; }; 35- exception(std::ostream& s) { std::cerr << s << std::endl; }; 36+ exception(std::ostream& s) { s << std::endl; }; 37 }; 38 39 typedef double (igrid::*transform_t)(double) const; 40diff --git a/src/lumi_pdf.cxx b/src/lumi_pdf.cxx 41--- a/src/lumi_pdf.cxx 42+++ b/src/lumi_pdf.cxx 43@@ -235,6 +235,6 @@ void lumi_pdf::write(const std::string& filename) const { 44 // std::string lumi_pdf::summary(std::ostream& s=std::cout) const { 45 std::string lumi_pdf::summary() const { 46 std::stringstream s; 47- s << "lumi_pdf::lumi_pdf() " << s << "\tsize " << m_combinations.size() << " lookup size " << m_lookup.size() << " " << this; 48+ s << "lumi_pdf::lumi_pdf() " << "\tsize " << m_combinations.size() << " lookup size " << m_lookup.size() << " " << this; 49 return s.str(); 50 }