From 17ccef115be6b2b45aa5ecdf0ce8d8dcb9bb8c10 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Sun, 1 Jun 2008 19:58:58 -0300 Subject: Interface changes for string functions: - replace_all() takes string* - remove some scm_i_XXX uses. --- lily/misc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lily/misc.cc') diff --git a/lily/misc.cc b/lily/misc.cc index 6837df0d74..3b9d87da16 100644 --- a/lily/misc.cc +++ b/lily/misc.cc @@ -71,17 +71,17 @@ camel_case_to_lisp_identifier (string in) vector out; /* don't add '-' before first character */ - out.push_back (tolower (in[0])); + out.push_back (char (tolower (in[0]))); for (size_t inpos = 1; inpos < in.size (); inpos++) { if (isupper (in[inpos])) out.push_back ('-'); - out.push_back (tolower (in[inpos])); + out.push_back ( char(tolower (in[inpos]))); } string result (&out[0], out.size ()); - replace_all (result, '_', '-'); + replace_all (&result, '_', '-'); return result; } -- cgit v1.2.3