summaryrefslogtreecommitdiff
path: root/examples/network
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2013-06-27 10:25:21 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-07-09 23:27:07 +0200
commit8de5b1c659df65d0cc381a32ef7a7cd84a8e1038 (patch)
tree9de835427f4a0e8144e46e7ca93b9e4f9760d3a3 /examples/network
parente0a8d05f0457d157a392303ced2b4237b228901b (diff)
downloadglibmm-8de5b1c659df65d0cc381a32ef7a7cd84a8e1038.tar.gz
C++11: examples: Use nullptr.
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/resolver.cc2
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;