Commit 20f30886 authored by ctraizet's avatar ctraizet
Browse files

ENH: make LogOutputCallback pure virtual

No related merge requests found
Showing with 3 additions and 6 deletions
+3 -6
......@@ -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
......
Supports Markdown
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