diff --git a/libs/pbd/pbd/convert.h b/libs/pbd/pbd/convert.h index af40446a81..5adabe684d 100644 --- a/libs/pbd/pbd/convert.h +++ b/libs/pbd/pbd/convert.h @@ -23,8 +23,7 @@ #include #include #include -#include -#include + #include #include "pbd/libpbd_visibility.h" @@ -49,14 +48,6 @@ LIBPBD_API std::string length2string (const int64_t frames, const double sample_ LIBPBD_API std::vector internationalize (const char *, const char **); LIBPBD_API bool strings_equal_ignore_case (const std::string& a, const std::string& b); -template std::string /*LIBPBD_API*/ -to_string (T t, std::ios_base & (*f)(std::ios_base&)) -{ - std::ostringstream oss; - oss << f << t; - return oss.str(); -} - LIBPBD_API const char* sgettext (const char *, const char *); } //namespace PBD