Skip to content
Snippets Groups Projects
Commit ab07b1a4 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

MAINT-6584: Rationalize custom KDU error/warning message classes.

Derive them both from a common base class that does the message logging,
instead of having each handler class log redundantly -- especially since the
put_text() override accepting const kdu_uint16* was simply streaming the
kdu_uint16 pointer to the log file, which would log the hex value of the
pointer.

Although we want a static instance of each of these handler classes, pull it
out rather than nesting the instance within the class itself.
parent 71b593e8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment