diff --git a/src/Configuration.cxx b/src/Configuration.cxx index c4a7440..e5f1c89 100644 --- a/src/Configuration.cxx +++ b/src/Configuration.cxx @@ -113,7 +113,7 @@ void getValueSpecialization(void) vString = f.getValue(s); } -//template void ConfigFile::getValue(std::string, float&); +// template void ConfigFile::getValue(std::string, float&); // http://stackoverflow.com/questions/4586768/how-to-iterate-a-boost-property-tree string indent(int level) @@ -223,4 +223,3 @@ ConfigFileBrowser::Iterator ConfigFileBrowser::end() { return Iterator(this, ptPtr->end(), ptPtr->end()); } - diff --git a/src/Daemon.cxx b/src/Daemon.cxx index 9e7e442..a42f4fc 100644 --- a/src/Daemon.cxx +++ b/src/Daemon.cxx @@ -278,4 +278,3 @@ Daemon::LoopStatus Daemon::doLoop() // todo // boost exceptions? - diff --git a/src/Exception.cxx b/src/Exception.cxx index a795bb7..fc70404 100644 --- a/src/Exception.cxx +++ b/src/Exception.cxx @@ -38,4 +38,3 @@ const char* Exception::what() const noexcept } // namespace Common } // namespace AliceO2 - diff --git a/src/Iommu.cxx b/src/Iommu.cxx index 1d26926..ce2a039 100644 --- a/src/Iommu.cxx +++ b/src/Iommu.cxx @@ -33,4 +33,3 @@ bool isEnabled() } // namespace Iommu } // namespace Common } // namespace AliceO2 - diff --git a/src/LineBuffer.cxx b/src/LineBuffer.cxx index 5cb17f3..f6666ed 100644 --- a/src/LineBuffer.cxx +++ b/src/LineBuffer.cxx @@ -112,5 +112,4 @@ int LineBuffer::getNextLine(std::string& nextLine) return 0; } -//void LineBuffer::appendString(const char *s) {} - +// void LineBuffer::appendString(const char *s) {} diff --git a/src/MemPool.cxx b/src/MemPool.cxx index 1d9b4b8..4acdebd 100644 --- a/src/MemPool.cxx +++ b/src/MemPool.cxx @@ -91,7 +91,7 @@ void* MemPool::getPage() int newIx = (lastPageIndexGet + 1 + i) % numberOfPages; if (!pageIsUsed[newIx].test_and_set()) { lastPageIndexGet = newIx; - //printf("getPage() scan => %d\n",j); + // printf("getPage() scan => %d\n",j); return pageTable[newIx]; } j++; @@ -109,7 +109,7 @@ void MemPool::releasePage(void* pagePtr) if (pagePtr == pageTable[pageIx]) { pageIsUsed[pageIx].clear(); lastPageIndexRelease = pageIx; - //printf("realeasePage() scan => %d\n",j); + // printf("realeasePage() scan => %d\n",j); return; } j++; @@ -120,4 +120,3 @@ int MemPool::getPageSize() { return pageSize; } - diff --git a/src/Program.cxx b/src/Program.cxx index c55bc89..037b185 100644 --- a/src/Program.cxx +++ b/src/Program.cxx @@ -141,4 +141,3 @@ int Program::execute(int argc, char** argv) } // namespace Common } // namespace AliceO2 - diff --git a/src/SimpleLog.cxx b/src/SimpleLog.cxx index 036d3fc..15e5fc4 100644 --- a/src/SimpleLog.cxx +++ b/src/SimpleLog.cxx @@ -125,7 +125,7 @@ int SimpleLog::Impl::logV(SimpleLog::Impl::Severity s, const char* message, va_l } else if (s == Severity::Warning) { ix += snprintf(&buffer[ix], len - ix, "Warning - "); } else { - //ix+=snprintf(&buffer[ix], len-ix, ""); + // ix+=snprintf(&buffer[ix], len-ix, ""); } } @@ -410,4 +410,3 @@ void SimpleLog::Impl::rotate() } /// \todo: thread to flush output every 1 second - diff --git a/src/SuffixNumber.cxx b/src/SuffixNumber.cxx index 2140245..71310a7 100644 --- a/src/SuffixNumber.cxx +++ b/src/SuffixNumber.cxx @@ -50,4 +50,3 @@ const std::vector>& get() } // namespace _SuffixNumberTable } // namespace Common } // namespace AliceO2 - diff --git a/src/System.cxx b/src/System.cxx index 94fd71c..6fd03a9 100644 --- a/src/System.cxx +++ b/src/System.cxx @@ -143,4 +143,3 @@ void assertFileSystemType(const std::string& path, const std::set& } // namespace System } // namespace Common } // namespace AliceO2 - diff --git a/src/Thread.cxx b/src/Thread.cxx index f1e1e54..15225f0 100644 --- a/src/Thread.cxx +++ b/src/Thread.cxx @@ -104,4 +104,3 @@ std::string Thread::getName() { return name; } - diff --git a/test/TestBasicThread.cxx b/test/TestBasicThread.cxx index 1e71e98..bef66c7 100644 --- a/test/TestBasicThread.cxx +++ b/test/TestBasicThread.cxx @@ -32,4 +32,3 @@ BOOST_AUTO_TEST_CASE(TestBasicThread) thread.join(); BOOST_CHECK(number > 0); } - diff --git a/test/TestIommu.cxx b/test/TestIommu.cxx index 653e7f6..2dc1ea8 100644 --- a/test/TestIommu.cxx +++ b/test/TestIommu.cxx @@ -19,4 +19,3 @@ BOOST_AUTO_TEST_CASE(TestIsEnabled) { BOOST_CHECK_NO_THROW(AliceO2::Common::Iommu::isEnabled()); } - diff --git a/test/TestSuffixNumber.cxx b/test/TestSuffixNumber.cxx index c6a0345..4c6c948 100644 --- a/test/TestSuffixNumber.cxx +++ b/test/TestSuffixNumber.cxx @@ -46,4 +46,3 @@ BOOST_AUTO_TEST_CASE(TestFloatingPoint) sn.setNumber("-123"); BOOST_CHECK_EQUAL(sn.getNumber(), -123); } - diff --git a/test/TestSuffixOption.cxx b/test/TestSuffixOption.cxx index 30a5197..a4bebf8 100644 --- a/test/TestSuffixOption.cxx +++ b/test/TestSuffixOption.cxx @@ -45,4 +45,3 @@ BOOST_AUTO_TEST_CASE(TestSuffixOption) BOOST_CHECK(numberB.getNumber() == 123); BOOST_CHECK(numberC == -1000.0); } - diff --git a/test/TestSystem.cxx b/test/TestSystem.cxx index 34b1762..4428955 100644 --- a/test/TestSystem.cxx +++ b/test/TestSystem.cxx @@ -87,4 +87,3 @@ BOOST_AUTO_TEST_CASE(TestIsFileSystemTypeAnyOf) BOOST_CHECK(System::isFileSystemTypeAnyOf("/sys", { "blahfs", "ext42" }).first == false); #endif } - diff --git a/test/testDaemon.cxx b/test/testDaemon.cxx index 8536e61..faa31ae 100644 --- a/test/testDaemon.cxx +++ b/test/testDaemon.cxx @@ -20,4 +20,3 @@ int main(int argc, char* argv[]) Daemon d(argc, argv); return d.run(); } - diff --git a/test/testFifo.cxx b/test/testFifo.cxx index 50081a9..9e9f48e 100644 --- a/test/testFifo.cxx +++ b/test/testFifo.cxx @@ -57,4 +57,3 @@ BOOST_AUTO_TEST_CASE(fifo_test) printf("fifoSz=%d sum=%d\n", fifoSz, sum2); } - diff --git a/test/testSimpleLog.cxx b/test/testSimpleLog.cxx index 32283d3..74fd1f6 100644 --- a/test/testSimpleLog.cxx +++ b/test/testSimpleLog.cxx @@ -21,10 +21,9 @@ int main() SimpleLog theLog; theLog.setLogFile("/tmp/test.log", 100, 4, 0); - for (int i=0; i<10; i++) { - theLog.info("test message %d",i); + for (int i = 0; i < 10; i++) { + theLog.info("test message %d", i); } - //sleep(10); + // sleep(10); return 0; } - diff --git a/test/testTimer.cxx b/test/testTimer.cxx index b57ad3c..e635c54 100644 --- a/test/testTimer.cxx +++ b/test/testTimer.cxx @@ -60,4 +60,3 @@ BOOST_AUTO_TEST_CASE(timer_test) BOOST_CHECK_EQUAL(success, 1); } -