diff --git a/tests/classic_src/AbsBeamline/RingTest.cpp b/tests/classic_src/AbsBeamline/RingTest.cpp index 7543e89ecc7c6a984332ae3502de10f23c34b7ab..8fd3c89ad7b96d015444ebbe207b40cf426ca603 100644 --- a/tests/classic_src/AbsBeamline/RingTest.cpp +++ b/tests/classic_src/AbsBeamline/RingTest.cpp @@ -37,15 +37,6 @@ #include <iostream> #include <sstream> -namespace { - std::string burnAfterReading(std::ostringstream &ostr) { - std::string returnValue = ostr.str(); - ostr.str(""); - - return returnValue; - } -} - // generate a set of weird, but closed, elements // reaches theta sum after 16 elements class OffsetFactory { diff --git a/tests/opal_src/Distribution/GaussTest.cpp b/tests/opal_src/Distribution/GaussTest.cpp index ae89e60b7c536bb3c64bf2d0f187774a53db8cec..136f79e9c5562822d1587d81b2963aeb36136f8f 100644 --- a/tests/opal_src/Distribution/GaussTest.cpp +++ b/tests/opal_src/Distribution/GaussTest.cpp @@ -25,15 +25,6 @@ Inform *gmsg; #include <cstring> #include <sstream> -namespace { - std::string burnAfterReading(std::ostringstream &ostr) { - std::string returnValue = ostr.str(); - ostr.str(""); - - return returnValue; - } -} - TEST(GaussTest, FullSigmaTest1) { OpalTestUtilities::SilenceTest silencer(true); char inputFileName[] = "GaussDistributionTest.in";