diff options
author | Murray Cumming <murrayc@murrayc.com> | 2015-07-16 22:19:21 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-07-16 23:15:20 +0200 |
commit | 5fd21ce0f57f29cefbb832e7997ec812631576a5 (patch) | |
tree | f35000c7124ddba96f75c800414c0fd22e30fd87 /glib/src/shell.ccg | |
parent | e0a6b4e54e5dbe09e3ffafa798d32c88b01e182b (diff) | |
download | glibmm-5fd21ce0f57f29cefbb832e7997ec812631576a5.tar.gz |
C++11: Use nullptr.
Diffstat (limited to 'glib/src/shell.ccg')
-rw-r--r-- | glib/src/shell.ccg | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/src/shell.ccg b/glib/src/shell.ccg index 4950c086..db01f78e 100644 --- a/glib/src/shell.ccg +++ b/glib/src/shell.ccg @@ -25,9 +25,9 @@ namespace Glib Glib::ArrayHandle<std::string> shell_parse_argv(const std::string& command_line) { - char** argv = 0; + char** argv = nullptr; int argc = 0; - GError* error = 0; + GError* error = nullptr; g_shell_parse_argv(command_line.c_str(), &argc, &argv, &error); @@ -45,7 +45,7 @@ std::string shell_quote(const std::string& unquoted_string) std::string shell_unquote(const std::string& quoted_string) { - GError* error = 0; + GError* error = nullptr; char *const buf = g_shell_unquote(quoted_string.c_str(), &error); if(error) |