summaryrefslogtreecommitdiff
path: root/src/command_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-05-13 14:23:07 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-05-13 18:43:38 +0200
commit26f0fd4cc6577e52b08604d32469b221242bfb9c (patch)
treeb63d2936ac57352a0cb3a4a863cc735dacedaf1c /src/command_manager.cc
parent56ab33c9d6dc0255bf15ebd1fbc216766ffb247c (diff)
Use more std::* for string handling
Diffstat (limited to 'src/command_manager.cc')
-rw-r--r--src/command_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command_manager.cc b/src/command_manager.cc
index 87848860..4bad2eb4 100644
--- a/src/command_manager.cc
+++ b/src/command_manager.cc
@@ -79,9 +79,9 @@ bool is_horizontal_blank(char c)
struct unterminated_string : parse_error
{
- unterminated_string(const String& open, const String& close, int nest = 0)
+ unterminated_string(const std::string& open, const std::string& close, int nest = 0)
: parse_error{"unterminated string '" + open + "..." + close + "'" +
- (nest > 0 ? "(nesting: " + int_to_str(nest) + ")" : "")}
+ (nest > 0 ? "(nesting: " + to_string(nest) + ")" : "")}
{}
};