Skip to content
Snippets Groups Projects
Commit 20f30886 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

ENH: make LogOutputCallback pure virtual

parent dedd9cfc
Branches
Tags
No related merge requests found
......@@ -44,16 +44,13 @@ public:
virtual ~LogOutputCallback() = default;
/** Write a string to a buffer */
virtual void Call(std::string const&){};
virtual void Call(std::string const&)=0;
/** Flush the buffer */
virtual void Flush(){};
virtual void Flush()=0;
/** Determine if the bufer is interactive */
virtual bool Isatty()
{
return false;
};
virtual bool Isatty()=0;
};
} // namespace otb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment