Skip to content
Snippets Groups Projects
Commit 742d0e53 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

examples NULL to nullptr

parent 0611677e
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ int publisher_main(int argc, char *argv[])
SCHED_PRIORITY_MAX - 5,
2000,
main,
(argv) ? (char *const *)&argv[2] : (char *const *)NULL);
(argv) ? (char *const *)&argv[2] : (char *const *)nullptr);
exit(0);
}
......
......@@ -112,7 +112,7 @@ int segway_main(int argc, char *argv[])
SCHED_PRIORITY_MAX - 10,
5120,
segway_thread_main,
(argv) ? (char *const *)&argv[2] : (char *const *)NULL);
(argv) ? (char *const *)&argv[2] : (char *const *)nullptr);
exit(0);
}
......
......@@ -73,7 +73,7 @@ int subscriber_main(int argc, char *argv[])
SCHED_PRIORITY_MAX - 5,
2000,
main,
(argv) ? (char *const *)&argv[2] : (char *const *)NULL);
(argv) ? (char *const *)&argv[2] : (char *const *)nullptr);
exit(0);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment