Mercurial > octave
diff src/gripes.cc @ 3523:b80bbb43a1a9
[project @ 2000-02-02 10:25:52 by jwe]
author | jwe |
---|---|
date | Wed, 02 Feb 2000 10:26:25 +0000 |
parents | 8b262e771614 |
children | 7690958e7726 |
line wrap: on
line diff
--- a/src/gripes.cc Wed Feb 02 06:32:04 2000 +0000 +++ b/src/gripes.cc Wed Feb 02 10:26:25 2000 +0000 @@ -37,7 +37,7 @@ void gripe_string_invalid (void) { - error ("string constant used in invalid context"); + error ("std::string constant used in invalid context"); } void @@ -87,7 +87,7 @@ } void -gripe_invalid_conversion (const string& from, const string& to) +gripe_invalid_conversion (const std::string& from, const std::string& to) { error ("invalid conversion from %s to %s", from.c_str (), to.c_str ()); } @@ -123,7 +123,7 @@ } void -gripe_wrong_type_arg (const char *name, const string& s, bool is_error) +gripe_wrong_type_arg (const char *name, const std::string& s, bool is_error) { if (is_error) error ("%s: wrong type argument `%s'", name, s.c_str ()); @@ -135,7 +135,7 @@ gripe_wrong_type_arg (const char *name, const octave_value& tc, bool is_error) { - string type = tc.type_name (); + std::string type = tc.type_name (); if (is_error) error ("%s: wrong type argument `%s'", name, type.c_str ()); @@ -146,14 +146,14 @@ void gripe_wrong_type_arg_for_unary_op (const octave_value& op) { - string type = op.type_name (); + std::string type = op.type_name (); error ("invalid operand `%s' for unary operator", type.c_str ()); } void gripe_wrong_type_arg_for_binary_op (const octave_value& op) { - string type = op.type_name (); + std::string type = op.type_name (); error ("invalid operand `%s' for binary operator", type.c_str ()); }