X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fpbd%2Fconvert.h;h=5adabe684da13a6a3ba533bb2705da565bf37f99;hb=7af5de2074a5bac7bc43f68d6784e436069fae99;hp=b5c7e10f5dc08de79f82cbf3cc4934896827cdd0;hpb=23e7cf10191270d70357ccf0ed9294f020c7b7ab;p=ardour.git diff --git a/libs/pbd/pbd/convert.h b/libs/pbd/pbd/convert.h index b5c7e10f5d..5adabe684d 100644 --- a/libs/pbd/pbd/convert.h +++ b/libs/pbd/pbd/convert.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002 Paul Davis + Copyright (C) 2002 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -23,8 +23,7 @@ #include #include #include -#include -#include + #include #include "pbd/libpbd_visibility.h" @@ -49,16 +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 bool string_is_affirmative (const std::string&); - LIBPBD_API const char* sgettext (const char *, const char *); } //namespace PBD