summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/shared/ResourceImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp
index 13284cf4..be3d445f 100644
--- a/src/shared/ResourceImpl.cpp
+++ b/src/shared/ResourceImpl.cpp
@@ -103,7 +103,7 @@ ResourceImpl::set_property(const Raul::URI& uri, const Raul::Atom& value) const
const Raul::Atom&
ResourceImpl::get_property(const Raul::URI& uri) const
{
- const Raul::Atom nil;
+ static const Raul::Atom nil;
Properties::const_iterator i = _properties.find(uri);
return (i != _properties.end()) ? i->second : nil;
}