summaryrefslogtreecommitdiffstats
path: root/src/shared/ResourceImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/ResourceImpl.cpp')
-rw-r--r--src/shared/ResourceImpl.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp
index de3eae17..6858fab9 100644
--- a/src/shared/ResourceImpl.cpp
+++ b/src/shared/ResourceImpl.cpp
@@ -121,8 +121,8 @@ ResourceImpl::type(const URIs& uris,
patch = node = port = is_output = false;
for (iterator i = types_range.first; i != types_range.second; ++i) {
const Atom& atom = i->second;
- if (atom.type() != Atom::URI) {
- warn << "[ResourceImpl] Non-URI type " << atom << endl;
+ if (atom.type() != uris.forge.URI) {
+ warn << "[ResourceImpl] Non-URI type " << uris.forge.str(atom) << endl;
continue;
}
@@ -195,17 +195,6 @@ ResourceImpl::remove_properties(const Properties& p)
}
}
-void
-ResourceImpl::dump(std::ostream& os) const
-{
- typedef Resource::Properties::const_iterator iterator;
- os << _uri << " [" << endl;
- for (iterator i = _properties.begin(); i != _properties.end(); ++i) {
- os << "\t" << i->first << " " << i->second << " ;" << endl;
- }
- os << "]" << endl;
-}
-
Resource::Properties
ResourceImpl::properties(Resource::Graph ctx) const
{