summaryrefslogtreecommitdiffstats
path: root/src/server/events/Get.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/Get.cpp')
-rw-r--r--src/server/events/Get.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/events/Get.cpp b/src/server/events/Get.cpp
index 64af9363..e4a5c760 100644
--- a/src/server/events/Get.cpp
+++ b/src/server/events/Get.cpp
@@ -39,8 +39,8 @@ Get::Get(Engine& engine,
const Ingen::Get& msg)
: Event(engine, client, msg.seq, timestamp)
, _msg(msg)
- , _object(NULL)
- , _plugin(NULL)
+ , _object(nullptr)
+ , _plugin(nullptr)
{}
bool
@@ -56,9 +56,9 @@ Get::pre_process(PreProcessContext& ctx)
return Event::pre_process_done(Status::SUCCESS);
} else if (uri_is_path(uri)) {
if ((_object = _engine.store()->get(uri_to_path(uri)))) {
- const BlockImpl* block = NULL;
- const GraphImpl* graph = NULL;
- const PortImpl* port = NULL;
+ const BlockImpl* block = nullptr;
+ const GraphImpl* graph = nullptr;
+ const PortImpl* port = nullptr;
if ((graph = dynamic_cast<const GraphImpl*>(_object))) {
_response.put_graph(graph);
} else if ((block = dynamic_cast<const BlockImpl*>(_object))) {