summaryrefslogtreecommitdiffstats
path: root/src/server/GraphObjectImpl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/GraphObjectImpl.hpp')
-rw-r--r--src/server/GraphObjectImpl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/GraphObjectImpl.hpp b/src/server/GraphObjectImpl.hpp
index fa9cb6b9..4e626692 100644
--- a/src/server/GraphObjectImpl.hpp
+++ b/src/server/GraphObjectImpl.hpp
@@ -54,7 +54,6 @@ class GraphObjectImpl : public GraphObject
public:
virtual ~GraphObjectImpl() {}
- const Raul::URI& uri() const { return _path; }
const Raul::Symbol& symbol() const { return _symbol; }
GraphObject* graph_parent() const { return _parent; }
@@ -67,6 +66,7 @@ public:
if (new_sym[0] != '\0') {
_symbol = Raul::Symbol(new_sym);
}
+ set_uri(GraphObject::path_to_uri(new_path));
}
const Raul::Atom& get_property(const Raul::URI& key) const;