summaryrefslogtreecommitdiff
path: root/flower/interval.cc
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2006-01-25 10:08:46 +0000
committerJan Nieuwenhuizen <janneke@gnu.org>2006-01-25 10:08:46 +0000
commitbf898a6f737ebdd6a749ea0a14d1056a3566a10e (patch)
tree0aaefbcebffcee5ecdf7bd5504bdeb79873fb8c6 /flower/interval.cc
parent882e5bd221e35207094c33b85b266625a57bc4f0 (diff)
* flower/include/std-string.hh: String/std::string compatibility:
Use NPOS for `not found' (iso -1), use ssize for length () and pos type. * flower/rational.cc: * flower/include/rational.hh: * flower/offset.cc: * flower/include/offset.hh: * flower/interval.cc: * flower/include/interval.hh: * flower/string-convert.cc: * flower/include/string-convert.hh: Use std::string [interface]. Update callers.
Diffstat (limited to 'flower/interval.cc')
-rw-r--r--flower/interval.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/flower/interval.cc b/flower/interval.cc
index aaa552353d..a3dc129019 100644
--- a/flower/interval.cc
+++ b/flower/interval.cc
@@ -18,7 +18,7 @@ Interval_t<Real>::infinity ()
}
template<>
-String
+Std_string
Interval_t<Real>::T_to_string (Real r)
{
return ::to_string (r);
@@ -32,7 +32,7 @@ Interval_t<int>::infinity ()
}
template<>
-String
+Std_string
Interval_t<int>::T_to_string (int i)
{
return ::to_string (i);
@@ -40,4 +40,3 @@ Interval_t<int>::T_to_string (int i)
template INTERVAL__INSTANTIATE (int);
template INTERVAL__INSTANTIATE (Real);
-