]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
replace \n with std::endl
authorRazvan Becheriu <ravan@isc.org>
Mon, 11 Mar 2019 18:07:52 +0000 (20:07 +0200)
committerTomek Mrugalski <tomek@isc.org>
Fri, 19 Apr 2019 07:55:02 +0000 (03:55 -0400)
src/lib/dhcpsrv/benchmarks/memfile_lease_mgr_benchmark.cc

index 52e080d08e944ad01753dd118674048d1f41ab89..7392c7e23e89932c72c6c5830545200dd1afd1bf 100644 (file)
@@ -46,7 +46,7 @@ public:
             LeaseMgrFactory::destroy();
             startBackend(V4);
         } catch (...) {
-            std::cerr << "ERROR: unable to start memfile backend.\n";
+            std::cerr << "ERROR: unable to start memfile backend." << std::endl;
             throw;
         }
         lmptr_ = &(LeaseMgrFactory::instance());
@@ -65,7 +65,7 @@ public:
             LeaseMgrFactory::create(getConfigString(u));
         } catch (...) {
             std::cerr << "*** ERROR: unable to create instance of the Memfile "
-                      << "lease database backend.\n";
+                      << "lease database backend." << std::endl;
             throw;
         }
         lmptr_ = &(LeaseMgrFactory::instance());
@@ -128,7 +128,7 @@ public:
             lmptr_->rollback();
         } catch (...) {
             std::cerr << "WARNING: rollback has failed. This is surprising as "
-                      << "memfile doesn't support rollback.\n";
+                      << "memfile doesn't support rollback." << std::endl;
         }
 
         LeaseMgrFactory::destroy();