summaryrefslogtreecommitdiffstats
path: root/src/ingen/ingen.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-25 13:59:47 -0500
committerDavid Robillard <d@drobilla.net>2017-12-25 16:26:13 -0500
commitd6a9571641bcb34acb3521feb08eea33195fd9ca (patch)
tree5c28e2800d829b7b1896e2fcbe3f8870b88e039d /src/ingen/ingen.cpp
parent25177612b20f7d3ebd4138fed9cd9acffec7e756 (diff)
downloadingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.gz
ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.bz2
ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.zip
Use nullptr
Diffstat (limited to 'src/ingen/ingen.cpp')
-rw-r--r--src/ingen/ingen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ingen/ingen.cpp b/src/ingen/ingen.cpp
index 93dce69e..0e147642 100644
--- a/src/ingen/ingen.cpp
+++ b/src/ingen/ingen.cpp
@@ -90,7 +90,7 @@ main(int argc, char** argv)
// Create world
try {
- world = unique_ptr<Ingen::World>(new Ingen::World(NULL, NULL, NULL));
+ world = unique_ptr<Ingen::World>(new Ingen::World(nullptr, NULL, NULL));
world->load_configuration(argc, argv);
if (argc <= 1) {
world->conf().print_usage("ingen", cout);
@@ -201,7 +201,7 @@ main(int argc, char** argv)
engine_interface->copy(Raul::URI(path), main_uri());
} else {
SerdNode uri = serd_node_new_file_uri(
- (const uint8_t*)path, NULL, NULL, true);
+ (const uint8_t*)path, nullptr, nullptr, true);
std::cout << "Loading " << (const char*)uri.buf
<< " (server side)" << std::endl;
engine_interface->copy(Raul::URI((const char*)uri.buf),
@@ -218,7 +218,7 @@ main(int argc, char** argv)
engine_interface->copy(main_uri(), Raul::URI(path));
} else {
SerdNode uri = serd_node_new_file_uri(
- (const uint8_t*)path, NULL, NULL, true);
+ (const uint8_t*)path, nullptr, nullptr, true);
std::cout << "Saving to " << (const char*)uri.buf << std::endl;
engine_interface->copy(main_uri(),
Raul::URI((const char*)uri.buf));