diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-05-13 14:23:07 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-05-13 18:43:38 +0200 |
| commit | 26f0fd4cc6577e52b08604d32469b221242bfb9c (patch) | |
| tree | b63d2936ac57352a0cb3a4a863cc735dacedaf1c /src/assert.cc | |
| parent | 56ab33c9d6dc0255bf15ebd1fbc216766ffb247c (diff) | |
Use more std::* for string handling
Diffstat (limited to 'src/assert.cc')
| -rw-r--r-- | src/assert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assert.cc b/src/assert.cc index 0e316be8..b51815a5 100644 --- a/src/assert.cc +++ b/src/assert.cc @@ -20,7 +20,7 @@ private: void on_assert_failed(const char* message) { - String debug_info = "pid: " + int_to_str(getpid()); + String debug_info = "pid: " + to_string(getpid()); int res = system(("xmessage -buttons 'quit:0,ignore:1' '"_str + message + "\n[Debug Infos]\n" + debug_info + "'").c_str()); switch (res) |
