Commit d6e5c347 authored by Cédric Traizet's avatar Cédric Traizet

ENH: removed unused member CoutIsConsole

parent 0a7fefa1
......@@ -107,8 +107,6 @@ private:
* progress if it hasn't changed */
int m_CurrentNbStars;
bool m_CoutIsConsole;
/** If the output is not interactive (e.g. it is redirected to a file), it
* is buffered and only written at the end of the processing */
std::string m_Buffer;
......
......@@ -35,8 +35,7 @@ template<class PrintCallbackType>
StandardOneLineFilterWatcher<PrintCallbackType>
::StandardOneLineFilterWatcher()
: m_StarsCount(50),
m_CurrentNbStars(-1),
m_CoutIsConsole( System::IsInteractive(1) )
m_CurrentNbStars(-1)
{
m_DefaultCallback = std::make_shared<PrintCallbackType>() ;
m_Callback = m_DefaultCallback.get();
......@@ -48,8 +47,7 @@ StandardOneLineFilterWatcher<PrintCallbackType>
const char *comment)
: FilterWatcherBase(process, comment),
m_StarsCount(50),
m_CurrentNbStars(-1),
m_CoutIsConsole( System::IsInteractive(1) )
m_CurrentNbStars(-1)
{
m_DefaultCallback = std::make_shared<PrintCallbackType>() ;
m_Callback = m_DefaultCallback.get();
......@@ -61,8 +59,7 @@ StandardOneLineFilterWatcher<PrintCallbackType>
const std::string& comment)
: FilterWatcherBase(process, comment.c_str()),
m_StarsCount(50),
m_CurrentNbStars(-1),
m_CoutIsConsole( System::IsInteractive(1) )
m_CurrentNbStars(-1)
{
m_DefaultCallback = std::make_shared<PrintCallbackType>() ;
m_Callback = m_DefaultCallback.get();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment