From 6dd600825395e1bdb0455ad836daefc49b5ca66f Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Sun, 20 Nov 2016 11:58:52 -0600 Subject: [PATCH] switch last (!) remaining std::cout to destination --- src/mlpack/core/util/prefixedoutstream_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlpack/core/util/prefixedoutstream_impl.hpp b/src/mlpack/core/util/prefixedoutstream_impl.hpp index 895de2ae358..a97cc7899e4 100644 --- a/src/mlpack/core/util/prefixedoutstream_impl.hpp +++ b/src/mlpack/core/util/prefixedoutstream_impl.hpp @@ -103,7 +103,7 @@ void PrefixedOutStream::BaseLogic(const T& val) if (fatal && newlined) { if (!ignoreInput) - std::cout << std::endl; + destination << std::endl; // Print a backtrace, if we can. #ifdef HAS_BFD_DL