diff options
Diffstat (limited to 'src/Fl_Valuator.cxx')
| -rw-r--r-- | src/Fl_Valuator.cxx | 12 |
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); -} |
