summaryrefslogtreecommitdiffstats
path: root/src/client/PluginModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/PluginModel.cpp')
-rw-r--r--src/client/PluginModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index 7998f8e2..4f1a4626 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -61,7 +61,7 @@ PluginModel::PluginModel(const URI& uri, const URI& type_uri, const Resource::Pr
const Atom&
PluginModel::get_property(const URI& key) const
{
- static Atom nil_atom(Atom::NIL);
+ static const Atom nil;
const Atom& val = ResourceImpl::get_property(key);
if (val.is_valid())
return val;
@@ -124,7 +124,7 @@ PluginModel::get_property(const URI& key) const
}
#endif
- return nil_atom;
+ return nil;
}