summaryrefslogtreecommitdiff
path: root/src/Fl_Valuator.cxx
diff options
context:
space:
mode:
authormaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 21:32:25 +0500
committermaxim nikonov <maxim.nikonov@hqo.co>2026-02-05 21:32:25 +0500
commitdc39575fb3ef90e5a2689babe7fb335cd88f6727 (patch)
tree24f6cef8f2b558ae6f1f812c75be0c09a53fe417 /src/Fl_Valuator.cxx
parent7d3793ce1d8cb26e7608bf859beca21359cec6e9 (diff)
wip
Diffstat (limited to 'src/Fl_Valuator.cxx')
-rw-r--r--src/Fl_Valuator.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/Fl_Valuator.cxx b/src/Fl_Valuator.cxx
index 90fa23325..cb1f9dea9 100644
--- a/src/Fl_Valuator.cxx
+++ b/src/Fl_Valuator.cxx
@@ -191,15 +191,3 @@ int Fl_Valuator::format(char* buffer) {
return snprintf(buffer, 128, "%.*f", c, v);
}
-/**
- \brief C++11 API for Fl_Valuator::format(char* buffer).
- Users can override either version to change the format of the text output
- in the valuator.
- \return the formatted text of the current value
- \see Fl_Valuator::format(char* buffer)
- */
-std::string Fl_Valuator::format_str() {
- char buffer[129];
- int size = format(buffer);
- return std::string(buffer, size);
-}