diff options
author | Murray Cumming <murrayc@murrayc.com> | 2013-06-27 10:25:21 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2015-07-09 23:27:07 +0200 |
commit | 8de5b1c659df65d0cc381a32ef7a7cd84a8e1038 (patch) | |
tree | 9de835427f4a0e8144e46e7ca93b9e4f9760d3a3 /examples/network | |
parent | e0a8d05f0457d157a392303ced2b4237b228901b (diff) | |
download | glibmm-8de5b1c659df65d0cc381a32ef7a7cd84a8e1038.tar.gz |
C++11: examples: Use nullptr.
Diffstat (limited to 'examples/network')
-rw-r--r-- | examples/network/resolver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/network/resolver.cc b/examples/network/resolver.cc index 4fdf0cfa..dee1ebf5 100644 --- a/examples/network/resolver.cc +++ b/examples/network/resolver.cc @@ -405,7 +405,7 @@ do_connectable (const std::string& arg, gboolean synchronous) { host = arg.substr (0, pos); port_str = arg.substr(pos); - port = strtoul (port_str.c_str (), NULL, 10); + port = strtoul (port_str.c_str (), nullptr, 10); } else port = 0; |