summaryrefslogtreecommitdiff
path: root/src/resources/loaders/xmlloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/loaders/xmlloader.cpp')
-rw-r--r--src/resources/loaders/xmlloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/loaders/xmlloader.cpp b/src/resources/loaders/xmlloader.cpp
index 9cacd1c41..61618530e 100644
--- a/src/resources/loaders/xmlloader.cpp
+++ b/src/resources/loaders/xmlloader.cpp
@@ -40,7 +40,7 @@ namespace
static Resource *load(const void *const v)
{
- if (!v)
+ if (v == nullptr)
return nullptr;
const ResourceLoader *const
rl = static_cast<const ResourceLoader *>(v);