summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Forge.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Forge.cpp b/src/Forge.cpp
index ffd87bbc..14d727d2 100644
--- a/src/Forge.cpp
+++ b/src/Forge.cpp
@@ -44,11 +44,11 @@ Forge::str(const Raul::Atom& atom)
} else if (atom.type() == Bool) {
ss << (atom.get<int32_t>() ? "true" : "false");
} else if (atom.type() == URI) {
- ss << "<" << atom.get<const char*>() << ">";
+ ss << "<" << atom.ptr<const char*>() << ">";
} else if (atom.type() == URID) {
ss << "<" << _map.unmap_uri(atom.get<int32_t>()) << ">";
} else if (atom.type() == String) {
- ss << "\"" << atom.get<const char*>() << "\"";
+ ss << "\"" << atom.ptr<const char*>() << "\"";
}
return ss.str();
}