From 1d212b7a0394fb72e76b3e713e2aa949cea4d612 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 20 Dec 2022 20:05:15 +0100 Subject: Clean up class Fl_String (part of issue #601) - remove static variable 'string_count' - improve and document methods debug() and hexdump() This commit does not resolve issue 601 but removes some development leftovers. Methods debug() and hexdump() left for debugging as requested. --- FL/Fl_String.H | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'FL/Fl_String.H') diff --git a/FL/Fl_String.H b/FL/Fl_String.H index 8b9b33a1b..300cf98f6 100644 --- a/FL/Fl_String.H +++ b/FL/Fl_String.H @@ -104,10 +104,8 @@ public: int slen() const; int capacity() const; - // ================================== DEBUG ================================== - - void debug(const char *info) const; // output string info - void hexdump(const char *info) const; // output info + hexdump + void debug(const char *info = 0) const; // output string info + void hexdump(const char *info = 0) const; // output string info + hexdump }; // class Fl_String -- cgit v1.2.3